I’ve updated the macro that I use to iterate over Cocoa collections. As before, the idea is that you write foreach( object, collection ), where object is the name of the loop variable and collection is either an NSEnumerator or an object that responds to -objectEnumerator. collection is only evaluated once, and IMP-caching is used … Continue reading Cocoa foreach Macro
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed