copy vs mutableCopy?
copy vs mutableCopy?
- Subject: copy vs mutableCopy?
- From: Rob Ross <email@hidden>
- Date: Tue, 11 Jul 2006 08:50:59 -0700
Ok, I know the difference between a mutable and immutable object. And
I know the difference between a shallow copy and a deep copy.
But I am having trouble understanding the difference between
implementing copy vs mutable copy, since it seems you can make
mutable copies of immutable objects, and immutable copies of mutable
objects. I'm just a bit confused how this works in practice.
I've read this:
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/
Tasks/ImplementCopy.html
but it doesn't really tell me the difference between the two methods.
Rob Ross
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden