Change value of NSNumber?
Change value of NSNumber?
- Subject: Change value of NSNumber?
- From: "Mike O'Connor" <email@hidden>
- Date: Sun, 04 Jul 2004 17:45:57 -0400
I have a number, which is an integer:
NSNumber* myInt= [NSNumber numberWithInt:123];
Can I change the value of this integer without creating a new NSNumber?
I change the value held in myInt a lot and it seems a waste to assign
new NSNumbers all the time.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.