说明: 归档操作,源码,详细标注,值得拥有,, CustomImgView *customView = [[CustomImgView alloc]initWithFrame:CGRectMake(50, 100, 200, 200)]; customView.backgroundColor = [UIColor redColor]; //需要做的事情,写在block里面 [customView setBlock:^(NSString *name){ NSLog(@"在ViewController点击
<zxy_i> 上传 | 大小:101kb