Re: NSMapTable options
Re: NSMapTable options
- Subject: Re: NSMapTable options
- From: Quincey Morris <email@hidden>
- Date: Mon, 07 Mar 2011 13:01:53 -0800
On Mar 7, 2011, at 12:39, Ken Thomases wrote:
> Well, I'm not deeply familiar with this stuff, but I can't see what it would mean to have weak references to keys while also copying the keys.
OK, I admit I did sit for 5 minutes after reading this trying to think of a use for weak references to copies. (You'd have to get 'allKeys' or enumerate the keys before the collector had a chance to make off with them.) Another 5 minutes I'll never get back.
Out of academic interest, then, I wonder what the answer is for strong key references.
_______________________________________________
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