Hi, if i understand, -copy message implement via -retain for true immutable objects like NSNumber, via -alloc, -init thus make true copy for mutable objects like NSMutableArray, my question is: what does -copy for immutable variant of immutable/mutable objects, for instance NSArray *arrayCopy = [array copy]; returns true copy or retains one? Or what does happen if object itself is immutable and has not setters, but it instance variables is mutable and can be changed? NSDictionary instance has NSMutableDictionary values
-- best regards Ariel _______________________________________________ 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