On Sun, 13 Nov 2011 01:42:07 -0600, Charles Srstka <[email protected]> 
said:
>On Nov 13, 2011, at 1:16 AM, ico wrote:
>
>> 
>> However, I just wonder, is it really true that there is no ANY different
>> between explicitly declaring iVars and not delaring it?
>> 
>
>If you’re 64-bit only (or if you require Lion or better), there’s no real 
>reason to explicitly declare the ivars these days.

As others have pointed out, this is not true. There are practical differences 
between declaring and not declaring the ivar explicitly. I almost never declare 
the ivar explicitly, but once in a while I need it to show up in the debugger 
or to be available in a subclass, and then I must declare it explicitly. m.

--
matt neuburg, phd = [email protected], <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook_______________________________________________

Cocoa-dev mailing list ([email protected])

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