Re: NSMapTable with weak refs on 10.7
Re: NSMapTable with weak refs on 10.7
- Subject: Re: NSMapTable with weak refs on 10.7
- From: Quincey Morris <email@hidden>
- Date: Fri, 10 Jan 2014 09:40:50 -0800
On Jan 10, 2014, at 08:38 , Jens Alfke <email@hidden> wrote:
> Is there a way to make this work, or does NSMapTable just not support ARC-based weak references in 10.7?
IIRC, NSMapTable was simply unsafe to use with ARC until the introduction of ‘NSMapTableWeakMemory’ in 10.8, and I had to write my own map table class that supported ARC weak references.
NSMapTable is fine with ARC *now*, but that doesn’t help when running on 10.7.
_______________________________________________
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