jerrykrinock / CategoriesObjC

General-purpose categories of Cocoa classes.
Other
274 stars 41 forks source link

where is the file "SSY_ARC_OR_NO_ARC.h"? #4

Closed yuedong56 closed 7 years ago

yuedong56 commented 7 years ago

I cant find it

jerrykrinock commented 7 years ago

Hello, @yuedong56.

It's a file that contains a weird compound macro to support ARC-or-notd in really old projects that use like the 10.6 SDK, before __has_feature was available. For the gory details, here it is.

Since none of my libraries go back to support 10.6 any more, you should just eliminate that #include and patch any errors which occur by using #if __has_feature(objc_arc)