摘要:
ios通知机制 阅读全文
摘要:
在IOS开发中,要做字典转模型一般情况如下: 1 /** 2 * 声明方法 3 */ 4 - (instancetype) initWithDictionary:(NSDictionary *)dict; 5 + (instancetype) carWithDictionary:(NSDict... 阅读全文
摘要:
1. @property的参数说明========================================ARC是苹果为了简化程序员对内存的管理,推出的一套内存管理机制使用ARC机制,对象的申请和释放工作会在运行时,由编译器自动在代码中添加retain和release1> strong:强指... 阅读全文
摘要:
上图是程序运行的过程图,程序有一个主循环,一直不断的去检查是否有监听的事件到达,addTarget:(id) action:(SEL) forControlEvents:(UIControlEvents是把用户点击按钮的监听注册到运行循环中,当运行循环检测到用户点击按钮事件,就去调用id的sel方法... 阅读全文
摘要:
1 UIImage *image = [UIImage imageNamed:tempAppInfo.icon];2 UIImageView *appIcon = (UIImageView *) [appView viewWithTag:0]; 3 appIcon.image = image;每次执... 阅读全文
摘要:
This is a temporary post that was not deleted. Please delete this manually. (27e4b358-de2e-45ac-b4e5-831dcdc13031 - 3bfe001a-32de-4114-a6b4-4005b770f6d7) 阅读全文