• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSTextFinder - don't use an NSView subclass for the client
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: Question about UIImage, scaling, and UIGraphicsBeginImageContextWithOptions
  • Next by Date: mogenerator and key path error
  • Previous by thread: Re: Example implementation of NSAnimatablePropertyContainer?
  • Next by thread: mogenerator and key path error
  • Index(es):
    • Date
    • Thread