• 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: SA Dev <email@hidden>
  • Date: Sat, 11 Jun 2005 19:22:33 -0400


This was exactly the problem. I gave it a border and tabs, but I was aiming for the middle. Enabling the border *and* tabs made a pretty good-sized gap around the top and bottom edges and the blue tab changed to "NSTabView" ... thanks, Pontus.




On Jun 11, 2005, at 2:22 PM, Pontus Ilbring wrote:

On 6/11/05, SA Dev <email@hidden> wrote:

Hi, list:

   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.


_______________________________________________ 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
References: 
 >IBOutlet & NSTabView (From: SA Dev <email@hidden>)
 >Re: IBOutlet & NSTabView (From: Pontus Ilbring <email@hidden>)

  • Prev by Date: NSMutableDictionary setObject:forKey:
  • Next by Date: Re: NSMutableDictionary setObject:forKey:
  • Previous by thread: Re: IBOutlet & NSTabView
  • Next by thread: Re: IBOutlet & NSTabView
  • Index(es):
    • Date
    • Thread