Skip to content

Commit

Permalink
Merge pull request ChenYilong#38 from WenchaoD/patch-1
Browse files Browse the repository at this point in the history
Update 《招聘一个靠谱的iOS》面试题参考答案(上).md
  • Loading branch information
ChenYilong committed Apr 20, 2016
2 parents 6f07b96 + 8c982b0 commit 83df5ed
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1778,8 +1778,8 @@ objc_setAssociatedObject (
* 对象正在被销毁,生命周期即将结束.
* 不能再有新的 __weak 弱引用, 否则将指向 nil.
* 调用 [self dealloc]
2. 父类 调用 -dealloc
* 继承关系中最底层的父类 在调用 -dealloc
2. 子类 调用 -dealloc
* 继承关系中最底层的子类 在调用 -dealloc
* 如果是 MRC 代码 则会手动释放实例变量们(iVars)
* 继承关系中每一层的父类 都在调用 -dealloc
3. NSObject 调 -dealloc
Expand Down

0 comments on commit 83df5ed

Please sign in to comment.