摘要: 1、有些OC对象不能使用 "__weak" 修饰,因为有些类自己重写了retain和release方法,不支持__weak,例如NSPort类和它的子类。 2、在dealloc中不能使用 “__weak __typeof(self)weak_self = self;”,否则程序会崩溃。 阅读全文
posted @ 2018-05-08 23:25 u37kl 阅读(968) 评论(0) 推荐(0) 编辑
摘要: MVVM与MVC 阅读全文
posted @ 2018-05-08 11:10 u37kl 阅读(91) 评论(0) 推荐(0) 编辑