Re: NSMutableCopy Issue - New to Cocoa and Objective-C
Re: NSMutableCopy Issue - New to Cocoa and Objective-C
- Subject: Re: NSMutableCopy Issue - New to Cocoa and Objective-C
- From: Nick Zitzmann <email@hidden>
- Date: Tue, 26 Jul 2005 07:20:11 -0600
On Jul 26, 2005, at 06:25 AM, Andrew Filipowski wrote:
Nevermind I figured it out, for some reason in my weeks method (the
one that creates the copy) if I change the mutableCopy to copy it
works as expected though not sure why.
They use different methods. -copy calls on the -copyWithZone: method
from the NSCopying protocol; -mutableCopy calls on the -
mutableCopyWithZone: method from the NSMutableCopying protocol.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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