Re: Triggering an NSTextStorage Bug
Re: Triggering an NSTextStorage Bug
- Subject: Re: Triggering an NSTextStorage Bug
- From: Kyle Sluder <email@hidden>
- Date: Wed, 20 Mar 2013 12:01:03 -0700
On Wed, Mar 20, 2013, at 11:48 AM, Seth Willits wrote:
> Either way though, it seems in a huge document with a zillion little
> ranges it could easily and legitimately hit this retainCount limit. Seems
> kinda odd that it's limited to 19 bits.
Ha!
The reason it's limited to 19 bits is because for speed purposes
NSParagraphStyle implements its own inline retain count rather than
relying on NSObject's external refcount table. Which is also why you
can't make ARC weak references to NSParagraphStyle instances. ;-)
--Kyle Sluder
_______________________________________________
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