• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Private ivars, not marked as IBOutlet, visible in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Private ivars, not marked as IBOutlet, visible in IB


  • Subject: Re: Private ivars, not marked as IBOutlet, visible in IB
  • From: Roland King <email@hidden>
  • Date: Mon, 1 Mar 2010 20:59:04 +0800

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 (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

_______________________________________________

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

  • Follow-Ups:
    • Re: Private ivars, not marked as IBOutlet, visible in IB
      • From: Joanna Carter <email@hidden>
References: 
 >Private ivars, not marked as IBOutlet, visible in IB (From: Joanna Carter <email@hidden>)

  • Prev by Date: Private ivars, not marked as IBOutlet, visible in IB
  • Next by Date: Re: Private ivars, not marked as IBOutlet, visible in IB
  • Previous by thread: Private ivars, not marked as IBOutlet, visible in IB
  • Next by thread: Re: Private ivars, not marked as IBOutlet, visible in IB
  • Index(es):
    • Date
    • Thread