I can't find this in the Apple documentation (it says that you need IBOutlet) 
however I believe that the nutshell cocoa guide stated that to be the case. 

Doesnt have to be private actually, just id seems to be enough. 

It has that 'legacy' feel about it. 

On 01-Mar-2010, at 8:40 PM, Joanna Carter wrote:

> I have discovered that adding a private ivar of type id to a class makes it 
> visible as an IBOutlet in Interface Builder.
> 
> @interface MyController : NSObject
> {
> @private
>   id anIvar;
> 
> ...
> }
> 
> @end
> 
> Is this a known bug, or expected behaviour?
> 
> 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/rols%40rols.org
> 
> This email sent to r...@rols.org

_______________________________________________

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