On Feb 6, 2009, at 8:47 AM, Sean McBride wrote:
On 2/5/09 7:57 PM, Adam R. Maxwell said:The nice part is that it can then be cast to an NSMutableSet.Are you sure? I thought toll-free bridging only worked if you don't use custom CF callbacks. IAC, I don't think the OP said he needed toll- freebridging.
In the case of -[NSDictionary setObject:forKey:] it will first send copyWithZone: to a key, then invoke your callback. Based on previous discussion of that bug (which Apple says is not a bug), IIRC being told that the custom callbacks are always called, so for NSArray/NSSet it should just work.
-- Adam
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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