码迷,mamicode.com
首页 > 移动开发 > 详细

IOS忽略-Warc-performSelector-leaks警告

时间:2014-08-28 18:09:55      阅读:458      评论:0      收藏:0      [点我收藏+]

标签:ios

IOS忽略-Warc-performSelector-leaks警告

by 伍雪颖

#define SuppressPerformSelectorLeakWarning(Stuff) do { _Pragma("clang diagnostic push") _Pragma("clang diagnostic ignored \"-Warc-performSelector-leaks\"") Stuff; _Pragma("clang diagnostic pop") } while (0)

SuppressPerformSelectorLeakWarning([self performSelector:customSelector]);

IOS忽略-Warc-performSelector-leaks警告

标签:ios

原文地址:http://blog.csdn.net/rainlesvio/article/details/38901113

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!