• 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: IBOutlet & NSTabView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IBOutlet & NSTabView


  • Subject: Re: IBOutlet & NSTabView
  • From: Gregory Weston <email@hidden>
  • Date: Sat, 11 Jun 2005 20:48:21 -0400

 On Saturday, June 11, 2005, at 07:50PM, Pontus Ilbring wrote:

>On 6/11/05, SA Dev <email@hidden> wrote:
>>
>>    I have a controller class with an IBOutlet defined as follows:
>>
>> IBOutlet NSTabView * mainTabView;
>>
>>    I dragged it into the nib and the outlet appeared as expected. The
>> trouble comes when I try to drag a connection from my controller
>> instance to the tab view. When I release the drag and click the
>> mainTabView entry in the inspector, the little red 'you-can't-do-
>> that' warning shows up explaining that 'mainTabView must be of type
>> NSTabView'. When I hover the option-drag over what is definitely my
>> tab view (it's contained directly by the window), the little blue tag
>> says "NSView".
>
>Hitting a borderless, tabless tabview (which is what I assume you
>have) instead of its content is a bit difficult. Temporarily give it a
>border and aim for that, or try aiming for the absolute bottom edge of
>its invisible border.

Alternatively, you can use the "outline" mode of the nib file's Instances view and then you know exactly what you're aiming at. Look at the wee buttons above the vertical scroll bar.
 _______________________________________________
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

  • Prev by Date: Re: Killing a NSTimer
  • Next by Date: Re: NSSavePanel: Hide extension is killing the extension
  • Previous by thread: Re: IBOutlet & NSTabView
  • Next by thread: Killing a NSTimer
  • Index(es):
    • Date
    • Thread