10 2015 档案
iOS中从第三级页面pop回到第一级页面的方法
摘要:LianLianGetMoneyViewController * getmoney = nil; for (UIViewController * VC in self.navigationController.viewControllers) { if ([VC isKindOfClass:...
阅读全文
iOS中block的传值方法
摘要:#define KTJExBlock(JError, JFunc, ...) ((JFunc)?(JFunc(__VA_ARGS__)):(JError))#define JYWeakSelf __weak __typeof(self)weakSelf = self ;在。h文件里写 @proper...
阅读全文
iOS通知使用方法
摘要://在你需要收到值使用的地方创建通知在ViewDidLoad [[NSNotificationCenter defaultCenter] addObserver: selector: name: object:];// 在你需要把值传走的地方把值发送 [[NSNotificationCe...
阅读全文
浙公网安备 33010602011771号