Re: Private ivars, not marked as IBOutlet, visible in IB
Re: Private ivars, not marked as IBOutlet, visible in IB
- Subject: Re: Private ivars, not marked as IBOutlet, visible in IB
- From: Thomas Engelmeier <email@hidden>
- Date: Sat, 13 Mar 2010 09:54:58 +0100
Am 04.03.2010 um 19:58 schrieb Joanna Carter:
> 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 :-)
Which is something some people at Apple encourage not to do. The leading underscore is seen as "Library implementors naming space" (also and especially for method signatures) so your code might break when you use that coding pattern.
OTOH, enforcing would break many peoples codebase, so it is unlikely that will ever happen.
Regards,
Tom_E
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden