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.
© 2002, 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-02-04)