> On 2014 Nov 10, at 15:37, Lee Ann Rucker <[email protected]> wrote:
>
> Do you implement any of the delegate methods corresponding to the
> notifications? Cocoa will add notifications for you instead of bothering with
> "respondsToSelector:" all the time.
Thank you, Lee Ann. No, I can’t find any corresponding delegate methods for
any of these four notifications.
• NSMenuDidAddItemNotification
• NSMenuDidChangeItemNotification
No method resembling either of those in NSMenuDelegate
• NSUserDefaultsDidChangeNotification
NSUserDefaults does not even declare a delegate
• NSAutosavedRecentsChangedNotification
This notification appears to be not even declared publicly.
Might be sent to a delegate of NSSearchField, but again,
NSSearchField does not declare a delegate.
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]