随笔分类 -  oc

摘要:转:message sent to deallocated instance问题的解决方法(gdb和lldb)当出现message sent to deallocated instance的时候,一般伴随牛逼的BAD_ACCESS.是的,是某个对象release了两次。可是那么多的疑似对象,到底是哪... 阅读全文
posted @ 2014-10-21 22:54 delegate
摘要:在IOS开发中,要做字典转模型一般情况如下: 1 /** 2 * 声明方法 3 */ 4 - (instancetype) initWithDictionary:(NSDictionary *)dict; 5 + (instancetype) carWithDictionary:(NSDict... 阅读全文
posted @ 2014-05-27 23:10 delegate 阅读(217) 评论(0) 推荐(0)