On Jan 10, 2014, at 08:38 , Jens Alfke <j...@mooseyard.com> 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 (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

Reply via email to