• 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
IB is listing non-outlets as outlets
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IB is listing non-outlets as outlets


  • Subject: IB is listing non-outlets as outlets
  • From: Ricky Sharp <email@hidden>
  • Date: Fri, 18 Mar 2005 17:09:45 -0600

This is probably a bug in IB, but thought I'd post here first.

For my custom palette items (mostly subclasses of NSControl), I offer custom bindings. For a particular binding, the control subclass has a pair of private ivars. For example:

@interface MyControl : NSControl
{
@private
    id        observedObjectForFoo;
    NSString* observedKeyPathForFoo;
}

In IB, when I control drag from such a control (e.g. to connect up delegates, next key view, etc.), I'm seeing a list of these private id ivars as if they were declared as being outlets. In the example above, 'observedObjectForFoo' would show up in the list of outlets I could connect to.

It's not a huge deal as I'm the only one that will ever use these palette items and I know not to connect such things. Still, it does clutter the list of outlets especially for those controls that offer several custom bindings.

Anyone know why IB is doing this?
___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: IB is listing non-outlets as outlets
      • From: j o a r <email@hidden>
  • Prev by Date: Problems saving images
  • Next by Date: Re: IB is listing non-outlets as outlets
  • Previous by thread: Problems saving images
  • Next by thread: Re: IB is listing non-outlets as outlets
  • Index(es):
    • Date
    • Thread