天天看點

strong/weak/assign/copy/retain

strong: 引用計數

weak: 弱引用,每個屬性有一個表記錄weak引用,屬性被釋放時把weak引用置成nil

assign: 基本類型使用

copy: 

retain: MRC下使用,基本同strong