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:
Pietro Gagliardi 2015-05-03 13:39:54 -04:00
parent 60d30688eb
commit eae2e92d87
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
@property (strong) NSMenuItem *quitItem;
@property (strong) NSMenuItem *preferencesItem;
@property (strong) NSMenuItem *aboutItem;
// NSMenuValidation is only informal (TODO)
// NSMenuValidation is only informal
- (BOOL)validateMenuItem:(NSMenuItem *)item;
- (NSMenu *)makeMenubar;
@end