搜索
您的当前位置:首页正文

iOS 全局实现weakSelf

来源:二三娱乐

宏定义:

define weak_self(var) __weak typeof(var) weakSelf = var

全局使用:
weak_self(self);

Top