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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com