会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
delegate
博客园
首页
新随笔
联系
订阅
管理
2014年6月2日
ios 的通知机制
摘要: ios通知机制
阅读全文
posted @ 2014-06-02 01:06 delegate
阅读(670)
评论(0)
推荐(0)
2014年5月27日
ios开发小技巧-用宏化简代码
摘要: 在IOS开发中,要做字典转模型一般情况如下: 1 /** 2 * 声明方法 3 */ 4 - (instancetype) initWithDictionary:(NSDictionary *)dict; 5 + (instancetype) carWithDictionary:(NSDict...
阅读全文
posted @ 2014-05-27 23:10 delegate
阅读(225)
评论(0)
推荐(0)
2014年5月25日
Xcode技巧-如何显示中文
摘要: 数组分类:显示中文
阅读全文
posted @ 2014-05-25 20:36 delegate
阅读(1262)
评论(0)
推荐(0)
KVC
摘要: OC KVC
阅读全文
posted @ 2014-05-25 19:54 delegate
阅读(398)
评论(0)
推荐(0)
2014年5月23日
weak && strong 指针
摘要: 1. @property的参数说明========================================ARC是苹果为了简化程序员对内存的管理,推出的一套内存管理机制使用ARC机制,对象的申请和释放工作会在运行时,由编译器自动在代码中添加retain和release1> strong:强指...
阅读全文
posted @ 2014-05-23 23:47 delegate
阅读(235)
评论(0)
推荐(0)
addTarget:(id) action:(SEL) forControlEvents:(UIControlEvents)的解释
摘要: 上图是程序运行的过程图,程序有一个主循环,一直不断的去检查是否有监听的事件到达,addTarget:(id) action:(SEL) forControlEvents:(UIControlEvents是把用户点击按钮的监听注册到运行循环中,当运行循环检测到用户点击按钮事件,就去调用id的sel方法...
阅读全文
posted @ 2014-05-23 01:43 delegate
阅读(598)
评论(0)
推荐(0)
错误-终止应用程序由于未捕获的异常的nsinvalidargumentexception’,原因:“[:]:未知的UIView setImage选择器送到实例0x8d78d20”
摘要: 1 UIImage *image = [UIImage imageNamed:tempAppInfo.icon];2 UIImageView *appIcon = (UIImageView *) [appView viewWithTag:0]; 3 appIcon.image = image;每次执...
阅读全文
posted @ 2014-05-23 00:35 delegate
阅读(568)
评论(0)
推荐(0)
2014年5月21日
Temporary Post Used For Theme Detection (2a511a50-5b31-486b-8481-355df6edf0cb - 3bfe001a-32de-4114-a6b4-4005b770f6d7)
摘要: This is a temporary post that was not deleted. Please delete this manually. (27e4b358-de2e-45ac-b4e5-831dcdc13031 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)
阅读全文
posted @ 2014-05-21 18:48 delegate
阅读(184)
评论(0)
推荐(0)
公告