On 15 Jul 2008, at 11:33 pm, Graham Cox wrote:
Back to NSToolbarItemValidation .. it is not a "type of"
MyDocument. So, based on the above, I should not call it a
"category" of MyDocument. So what do I call it? Is it an
"extension" of MyDocument?
No, it's a category on MyDocument.
Actually, I should clarify that. It's already a category on NSObject,
so there's no need to redeclare it as a method in your own category. I
should be harmless to do so, but since Apple have already declared it,
you don't need to.
Just implement the method in MyDocument.m and all will be well.
Graham
_______________________________________________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]