objective c - toolbarSelectableItemIdentifiers: is not called -


i'm trying make selectable nstoolbaritems. i've connected correctly in ib, toolbarselectableitemidentifiers: not working. doesn't called. delegate file's owner (subclass of nswindowcontroller), , toolbar in sheet. here's code:

// toolbar dlgt - (nsarray *)toolbarselectableitemidentifiers:(nstoolbar *)toolbar {   nslog(@"foo");   nsmutablearray *arr = [[nsmutablearray alloc] init];   (nstoolbaritem *item in [toolbar items]) {     [arr addobject:[item itemidentifier]];   }   return [arr autorelease]; } 

screenshot:
screenshot

can me please?


no, don't want use bwtoolkit.

are positive toolbar's delegate outlet points class (or instance thereof) think does? other nstoolbar delegate methods called there (easy enough test)?


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -