On Sat, May 24, 2008 at 5:21 AM, glenn andreas <[EMAIL PROTECTED]> wrote:
> While properties are nice, it's the "for each" thing that really is thing I
> miss most when not working in ObjC 2.0...  (if only the equivalent
> NSEnumerator based loop were automatically generated in non ObjC 2.0)

If you haven't already, read through this:

http://www.cocoadev.com/index.pl?ForallMacro

I used the "foreach" macro presented about a third of the way down the
page for a couple of years before Leopard was released. Having the
syntax be supported directly in the language is nice but has barely
affected my work habits in the end. If you're not squeamish about
macros then this is a fine way to get more or less equivalent support
on Tiger and prior.

Mike
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to