Re: Weird crash in -[NSSearchField setRecentSearches:]
Re: Weird crash in -[NSSearchField setRecentSearches:]
- Subject: Re: Weird crash in -[NSSearchField setRecentSearches:]
- From: Jerry Krinock <email@hidden>
- Date: Mon, 10 Nov 2014 20:16:47 -0500
> On 2014 Nov 10, at 15:37, Lee Ann Rucker <email@hidden> 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@hidden)
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:
This email sent to email@hidden