摘要:
1、案例视图,如下图2、代码TextKit01ViewController.h#import @interface TextKit01ViewController : UIViewController@property (nonatomic,strong) IBOutlet UITextView *... 阅读全文
摘要:
WTDelegate#import @protocol WTDelegate @required- (void)sleep;- (void)eat;- (void)work;@endWTPhilosopher.h#import #import "WTDelegate.h"@interface WTP... 阅读全文
摘要:
使用单例模式的类:UIApplicationUIAccelerometerNSUserDefaultsNSNotificationCenterNSFileManagerNSBundle等Singleton.h#import @interface Singleton : NSObject// 始终返回... 阅读全文