• 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
Re: NSAttributedString crashes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAttributedString crashes


  • Subject: Re: NSAttributedString crashes
  • From: Graham Cox <email@hidden>
  • Date: Fri, 04 Mar 2011 14:32:09 +1100

On 04/03/2011, at 11:54 AM, Matt Neuburg wrote:

> because NSString is a very, very special case. Memory management for strings is utterly different from memory management for a normal object


Is it?

Are you basing this on your observations, or on some documentation?

I don't see this though I haven't gone out of my way to look for it. There is no reason I've ever found to treat NSString as a special case, and it doesn't sound right to me that strings are effectively never deallocated, which seems to be what you're implying. That would be a leak of a rather major order, wouldn't it?

--Graham


_______________________________________________

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: NSAttributedString crashes
      • From: Matt Neuburg <email@hidden>
References: 
 >Re: NSAttributedString crashes (From: Matt Neuburg <email@hidden>)
 >Re: NSAttributedString crashes (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: NSAttributedString crashes (From: Kyle Sluder <email@hidden>)
 >Re: NSAttributedString crashes (From: Matt Neuburg <email@hidden>)

  • Prev by Date: NSTableView: which delegate after a drag operation?
  • Next by Date: Re: NSAttributedString crashes
  • Previous by thread: Re: NSAttributedString crashes
  • Next by thread: Re: NSAttributedString crashes
  • Index(es):
    • Date
    • Thread