Le 4 mars 2010 à 16:31, Lynn Barton a écrit :

> Buck and Yacktman's book Cocoa Design Patterns says on page 208, "Any 
> instance variable with type id and a name that doesn't start with an 
> underscore character is automatically considered an outlet."

That is understandable... if the ivars have not otherwise been marked as 
@private.

I have no problem with this concept of default behaviour, if it is for legacy 
purposes but, with the new visibility specifiers, these should take precedence 
of the older legacy rules.

Never mind, as long as you prepend the private ivar with an underscore, it 
disappears :-)

Joanna

--
Joanna Carter
Carter Consulting

_______________________________________________

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

Reply via email to