NSTextFinder - don't use an NSView subclass for the client
NSTextFinder - don't use an NSView subclass for the client
- Subject: NSTextFinder - don't use an NSView subclass for the client
- From: Eric Slosser <email@hidden>
- Date: Tue, 27 Mar 2012 14:02:30 -0400
Don't use a subclass of NSView for the object that you pass as 'client'.
The NSTextFinderClient protocol's -(BOOL)isEditable method will be called from -[NSView inputContext] as your view's window is being dealloc'd, and you may crash.
_______________________________________________
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