Re: NSToolbar delegate -toolbarAllowedItemIdentifiers:

2014-02-08 Thread Markus Spoettl
On 2/8/14 12:25 AM, Quincey Morris wrote: It’s a while since I had to suffer through the pain that is NSToolbar delegate methods, but I suspect the problem is that the IB-created items are in a different universe from programmatically created ones. Therefore, in a “mixed” configuration,

NSToolbar delegate -toolbarAllowedItemIdentifiers not getting called, other delegate methods are

2014-02-07 Thread Markus Spoettl
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

Re: NSToolbar delegate -toolbarAllowedItemIdentifiers not getting called, other delegate methods are

2014-02-07 Thread Markus Spoettl
On 2/7/14 10:31 PM, Markus Spoettl wrote: 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

Re: NSToolbar delegate -toolbarAllowedItemIdentifiers:

2014-02-07 Thread Jerry Krinock
I’ve never used -toolbarAllowedItemIdentifiers:. However, its documentation states… Sent to discover the allowed item identifiers for a toolbar.” Wonderful :)) There is no indication of who sends it, when, nor what is done with the result. The “Discussion” is no more enlightening either.

Re: NSToolbar delegate -toolbarAllowedItemIdentifiers:

2014-02-07 Thread Markus Spoettl
On 2/7/14 11:19 PM, Jerry Krinock wrote: I’ve never used -toolbarAllowedItemIdentifiers:. However, its documentation states… Sent to discover the allowed item identifiers for a toolbar.” Wonderful :)) There is no indication of who sends it, when, nor what is done with the result. The

Re: NSToolbar delegate -toolbarAllowedItemIdentifiers:

2014-02-07 Thread Quincey Morris
On Feb 7, 2014, at 14:49 , Markus Spoettl ms_li...@shiftoption.com wrote: But apparently its result is ignored because items that are disallowed (by not returning them in this delegate method) are still visible. It’s a while since I had to suffer through the pain that is NSToolbar delegate