Hi,

   This may be very basic question. I am curious to know the details.

what was the reason NSNumber conforms to NSCopying protocol.

NSNumber is immutable class, Making a copy of NSNumber object returns the
same reference.

Is there any case where NSNumber returns the new object? if not, then what
is the purpose of conformance to NSCopying protocol.

Regards
Sasikumar JP
_______________________________________________

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to