• 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: Dissappearing string
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dissappearing string


  • Subject: Re: Dissappearing string
  • From: Graham Cox <email@hidden>
  • Date: Wed, 16 May 2012 14:59:13 +1000

On 15/05/2012, at 11:38 AM, Charlie Dickman wrote:

> Note that the retainCount has changed in the first case but not in the second.
> Does anyone have any ideas as to what is happening?


No, but relying on, peeking at or otherwise taking any notice of retain counts is a sure path to madness.

All you need to do is follow the ownership rules and forget about what the actual retain count is, especially for a complex object like NSAttributedString.


WHat is the actual problem you're trying to solve?

--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: Dissappearing string
      • From: Charlie Dickman <email@hidden>
References: 
 >Dissappearing string (From: Charlie Dickman <email@hidden>)

  • Prev by Date: Re: iOS app launching speed
  • Next by Date: Layout constraint related exceptions
  • Previous by thread: Dissappearing string
  • Next by thread: Re: Dissappearing string
  • Index(es):
    • Date
    • Thread