Retrive NSTabViewItem from its outlet
Retrive NSTabViewItem from its outlet
- Subject: Retrive NSTabViewItem from its outlet
- From: Lorenzo <email@hidden>
- Date: Wed, 25 Jan 2006 23:10:17 +0100
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
_______________________________________________
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