知乎上的一個怎麼面試iOS工程師的問題

知乎連接:http://www.zhihu.com/question/19604641html 1.什麼是arc?(arc是爲了解決什麼問題誕生的?) 首先解釋ARC: automatic reference counting自動引用計數。 ARC幾個要點: 在對象被建立時 retain count +1,在對象被release時 retain count -1.當retain count 爲0
相關文章
相關標籤/搜索