objective c - Disabling a NSToolbarItem triggering a segue -
i have nstoolbar many nstoolbaritems, of them connected methods , couple of them directly trigger segue (one sheet segue , other show segue).
i have implemented:
-(bool)validatetoolbaritem:(nstoolbaritem *)toolbaritem { ... }
to enable/disable buttons need. unfortunately, method never called 2 nstoolbaritems trigger segue.
all nstoolbaritems have autovalidates @ no.
what missing?
Comments
Post a Comment