Explicitly declaring your ivars makes them easier to see in the debugger. Otherwise you have to call the property accessor from gdb's command line to look at it.
I feel that it's helpful to declare them in any case, so I can more-easily tell how much memory each of my objects is taking up by looking at its list of ivars. Not every property is backed by the ivar it acts as asscessors for. It's perfectly legal to implement custom accessors that do other things than set or get instance variables. They could instead run some sort of calculation, or set some other combination of ivars. -- Don Quixote de la Mancha Dulcinea Technologies Corporation Software of Elegance and Beauty http://www.dulcineatech.com quix...@dulcineatech.com _______________________________________________ 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