1. 程式人生 > >常用宏定義 - 強引用、弱引用

常用宏定義 - 強引用、弱引用

__strong 宏定義 ngs fine eof efi tro self obj


強引用、弱引用

    #define CHWeakSelf(type)  __weak typeof(type) weak##type = type;
    #define CHStrongSelf(type)  __strong typeof(type) type = weak##type;

常用宏定義 - 強引用、弱引用