摘要:
阅读全文
摘要:
// CZTool.h一次性代码#import @interface CZTool : NSObject// 用单例设计模式,可以节省内存.// 书写单例// 1. 对外提供一个获取单例对象的接口(API)+(instancetype)sharedCZTool;@end// CZTool.m一次性代... 阅读全文
摘要:
#import "ViewController.h"@interface ViewController ()@property (weak, nonatomic) IBOutlet UIImageView *imageView;@property (weak, nonatomic) IBOutlet... 阅读全文
摘要:
#import "ViewController.h"@interface ViewController ()@end@implementation ViewController- (void)viewDidLoad { [super viewDidLoad]; // Do any additio... 阅读全文