You're overriding the method, so it is up to you to implement the
copying behaviour.
On 18 Jan 2009, at 21:19, Sandro Noel wrote:
Greetings.
This is probably a stupid question.
if i have a property declared as
@property (readwrite, copy) NSString *name;
if I override the -(void) setName(NSString*)value{}
The object that I get as value is it already a copy?
Will the object still copy if I just
instanceVariable = value;
or do I have to
instanceVariable = [value copy];
Thank you!
Sandro Noel.
_______________________________________________
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/cocoadev%40mikeabdullah.net
This email sent to cocoa...@mikeabdullah.net
_______________________________________________
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