Re: NSCopying vs NSMutableCopying for custom object
Re: NSCopying vs NSMutableCopying for custom object
- Subject: Re: NSCopying vs NSMutableCopying for custom object
- From: Graham Cox <email@hidden>
- Date: Sun, 27 Oct 2013 19:34:16 +0100
On 27/10/2013, at 6:58 PM, Trygve Inda <email@hidden> wrote:
> So in my case is there really no difference between
> a mutable copy and an immutable copy?
No, because your object is mutable, by design. So copying it yields another mutable object.
Only if you design objects with mutable and immutable variants does the difference become important.
--Graham
_______________________________________________
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