Is there an easy way to convert an Objective-C 2.0 file to Objective-C 1? I am writing a Cocoa app, and I decided to support Tiger, which doesn’t support Obj. C 2.0. I know I should have thought of it before I wrote a whole bunch of code, but is there an easy way to convert it back? Thanks!
Share
Here’s a Objective-C 1.0
foreachmacro that can make converting thefor(id obj in collection)loops a lot easier. Using it, you can say:foreach(id,obj,collection){…}. I used it for a couple of years before fast enumeration, and it worked great.