Confirmed that NSMenuValidation was only informal; thanks to Psy| in irc.freenode.net/#macdev for explaining how informal protocols actually worked (since the declaration in the headers threw me off).
This commit is contained in:
parent
60d30688eb
commit
eae2e92d87
|
@ -25,7 +25,7 @@
|
||||||
@property (strong) NSMenuItem *quitItem;
|
@property (strong) NSMenuItem *quitItem;
|
||||||
@property (strong) NSMenuItem *preferencesItem;
|
@property (strong) NSMenuItem *preferencesItem;
|
||||||
@property (strong) NSMenuItem *aboutItem;
|
@property (strong) NSMenuItem *aboutItem;
|
||||||
// NSMenuValidation is only informal (TODO)
|
// NSMenuValidation is only informal
|
||||||
- (BOOL)validateMenuItem:(NSMenuItem *)item;
|
- (BOOL)validateMenuItem:(NSMenuItem *)item;
|
||||||
- (NSMenu *)makeMenubar;
|
- (NSMenu *)makeMenubar;
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in New Issue