Subclassing NSToolbarItem
To provide enabling behavior or to modify click-through behavior on a view item, you must override validate
and may want to override isEnabled
and setEnabled:
.
To enable multiple copies of the item in the toolbar, you must override allowsDuplicatesInToolbar
to return YES
.
Your subclass must conform to the NSCopying protocol.
Copyright © 2002, 2009 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2009-02-04