• 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
NSAttributedDictionary crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSAttributedDictionary crash


  • Subject: NSAttributedDictionary crash
  • From: Michael Vannorsdel <email@hidden>
  • Date: Sat, 28 Feb 2009 10:40:41 -0700

I'm having a problem I'm not sure how to solve. I have a custom view which uses an NSAttributedString to draw text which works fine except when it draws to a printer context. The NSAttributedDictionary created inside the NSAttributedString's initWithString:attributes: gets over released and crashes when the global autorelease pool empties.

Looking for suggestions on how to work around this.
_______________________________________________

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


  • Follow-Ups:
    • Re: NSAttributedDictionary crash
      • From: Shawn Erickson <email@hidden>
    • Re: NSAttributedDictionary crash
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: renaming a file with special/reserved characters in name
  • Next by Date: Re: renaming a file with special/reserved characters in name
  • Previous by thread: NSTableView and CA backed views
  • Next by thread: Re: NSAttributedDictionary crash
  • Index(es):
    • Date
    • Thread