Monday, December 3, 2012

How to know ARC support

Just put this lines of code to know the ARC enabled or not.


#if __has_feature(objc_arc)
// ARC is On
#else
// ARC is Off
#endif


Happy coding :) B-)

No comments:

Post a Comment