Could someone confirm for me that if I want a NSMapTable object with weak pointers to both keys and values, and that doesn't copy keys or values, the appropriate options are:
[NSMapTable mapTableWithKeyOptions: (NSMapTableZeroingWeakMemory | NSMapTableObjectPointerPersonality) options valueOptions: (NSMapTableZeroingWeakMemory | NSMapTableObjectPointerPersonality)] Or is [NSMapTable mapTableWithWeakToWeakObjects] sufficient? The documentation doesn't say whether this is modeled after a dictionary (copies keys) or not. _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com