NSToolbar delegate -toolbarAllowedItemIdentifiers not getting called, other delegate methods are
NSToolbar delegate -toolbarAllowedItemIdentifiers not getting called, other delegate methods are
- Subject: NSToolbar delegate -toolbarAllowedItemIdentifiers not getting called, other delegate methods are
- From: Markus Spoettl <email@hidden>
- Date: Fri, 07 Feb 2014 22:31:37 +0100
Hi,
I have a strange problem with a toolbar that is configured in IB which I need
to adjust programmatically. It has a delegate set (to the window controller) but
for some reason
- (NSArray *)toolbarAllowedItemIdentifiers:(NSToolbar*)toolbar
is never getting called. Other delegate methods such as
- (NSArray *)toolbarDefaultItemIdentifiers:(NSToolbar *)toolbar
are getting called. I need to adjust (restrict) the allowed items under certain
circumstances and there's no other way to do that.
Does anyone have an idea what might be wrong?
This is with Xcode 4.6.3, OSX 10.7 base SDK, running on Mountain Lion.
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden