Click here for the new  weblog.

Daily Snippet

Garbage Collection is deprecated. ARC it is now and so we have to update/change our Mac projects. Sometimes this is very easy and, of course, often it is harder. And sometimes it is even impossible.

And sometimes there is a need to provide code for both. This can be done with:

#if !__has_feature(objc_arc)
// retain, release etc. here
#endif

  1. do-nothing reblogged this from moapp
  2. moapp posted this