Personally, I find it to be wasteful and overly complex for no good
reason.
I guess that the setter code is a matter of preference. The
original code copies the new value, I have edited it to retain the
value.
In a *generic* setter method, copy is probably the correct and safe
operation. For immutable objects, copy is often replaced with retain
as an optimization:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden