• 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 displays a non-outlet (Bug or feature?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IB displays a non-outlet (Bug or feature?)


  • Subject: IB displays a non-outlet (Bug or feature?)
  • From: Negm-Awad Amin <email@hidden>
  • Date: Thu, 21 Aug 2008 09:01:12 +0200

Hi

before I report this, I want to check, whether I misunderstood something.

I've a window controller subclass with three outlets. Additional the class owns to ivars, one of them typed id. These ivars are not marked as outlet.

@interface GroupsWC : NSWindowController {
   IBOutlet NSArrayController* personsController;
   IBOutlet NSArrayController* groupsController;
   IBOutlet NSOutlineView*     sidebarView;

   NSIndexSet* selectionIndexes;
   id selectedGroup;
}

In the IB3 I see the ivar typed id and can connect it. Is this the intended behaviour? (I accidentally connected this "outlet" to a view.)
http://www.cocoading.de/webspace/id_outlet.tiff


Cheers,

Amin Negm-Awad
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: IB displays a non-outlet (Bug or feature?)
      • From: Jon Hess <email@hidden>
  • Prev by Date: Design Question: Pro & Cons of KVC/KVO
  • Next by Date: Re: !foo vs foo == nil
  • Previous by thread: Re: Design Question: Pro & Cons of KVC/KVO
  • Next by thread: Re: IB displays a non-outlet (Bug or feature?)
  • Index(es):
    • Date
    • Thread