On Fri, May 1, 2009 at 12:00 PM, Nick Hristov <n...@freshlybakedapps.com> wrote: > One more comment on self->ivar... I used this approach because using [self > connection] or self.connection (they are both the same thing) amount to an > extra message call.
This is true, and sometimes you want to do this, while other times you don't. But anywhere you do self->foo you can simply do foo, assuming foo isn't shadowed by another variable identifier in the same scope. Properties, methods, and variables (including ivars) all exist in separate namespaces. --Kyle Sluder _______________________________________________ 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 arch...@mail-archive.com