• 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: Retrive NSTabViewItem from its outlet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Retrive NSTabViewItem from its outlet


  • Subject: Re: Retrive NSTabViewItem from its outlet
  • From: Wain <email@hidden>
  • Date: Wed, 25 Jan 2006 22:19:33 +0000

Hi,

You indicate that you have both a subclass for the slider and a nib file, why not give the slider
subclass an outlet which you set to the tab view item in IB.


Just out of interest, what are you trying to accomplish?

Wain

On 25 Jan 2006, at 22:10, Lorenzo wrote:

I have a slider in a NSTabViewItem
In the slider awakeFromNib method I would like to retrive its NSTabViewItem.
I tried this unsuccessfully.


id tabItem = [self superview];
NSLog(@"slider tag %d tabIdentif %@", [self tag], [tabItem identifier]);


and

id tabItem = [[self superview] superview];
NSLog(@"slider tag %d tabIdentif %@", [self tag], [tabItem identifier]);


I think that I need something else than the second superview in the second
piece of code. Any idea?



Best Regards -- Lorenzo email: email@hidden


___________________________________________________________ Yahoo! Photos – NEW, now offering a quality print service from just 8p a photo http://uk.photos.yahoo.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
References: 
 >Retrive NSTabViewItem from its outlet (From: Lorenzo <email@hidden>)

  • Prev by Date: NSBitmapImageRep representationUsingType crashes.....
  • Next by Date: Re: orderFrontCharacterPalette works... but with one potentially untenable requirement
  • Previous by thread: Retrive NSTabViewItem from its outlet
  • Next by thread: Re: Retrive NSTabViewItem from its outlet
  • Index(es):
    • Date
    • Thread