Re: IBOutlet & NSTabView
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