摘要:
作为一个viewController(VC),想要消失的时候可以从parent VC里面调用dismissModalViewControllerAnimated来消去改VC,也可以在该VC里面手动调用self dismissModalViewControllerAnimated:YES来消去自己。 ... 阅读全文
摘要:
#define UIColorFromHEX(rgbValue) [UIColor \colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 \green:((float)((rgbValue & 0xFF00) >> 8))/255.0 ... 阅读全文
摘要:
-(IBAction)onTest:(id)sender{BlockDemo*demo=[[BlockDemoalloc]init];__weaktypeof(BlockDemo)*weakDemo=demo;[demosetExecuteFinished:^{if(weakDemo.resultC... 阅读全文