摘要:
NSArray+LogNSArray+Log.h#import @interface NSArray (Log)@endNSArray+Log.m#import "NSArray+Log.h"@implementation NSArray (Log)- (NSString *)description... 阅读全文
摘要:
Person.h#import @interface Person : NSObject@property(nonatomic,copy)NSString*name;@property(nonatomic,assign)long int ID;-(void)addObserver;//添加观察者-(... 阅读全文
摘要:
Student.h#import @interface Student : NSObject@property (nonatomic, copy) NSString *name;- (instancetype)initWithName:(NSString *)name;//单例:default st... 阅读全文
摘要:
#import int main(int argc, const char * argv[]) { @autoreleasepool { /* 本地存储(数据持久化): 1.NSUserdefaults 2.NSCoding 3.Sqlite 4.文件存储 ... 阅读全文