NSNumber increment
NSNumber increment
- Subject: NSNumber increment
- From: Jeremy Rotsztain <email@hidden>
- Date: Sun, 8 Jul 2007 01:27:03 -0400
What's the syntax for incrementing a NSumber stored in an array?
[[colorsListed objectAtIndex:22] objectAtIndex:1];
Do I have to replace that number with the object?
[colorsListed replaceObjectAtIndex:22 withObject:[[[colorsListed
objectAtIndex:22] objectAtIndex:1] intValue + 1]];
Thanks,
Jeremy
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden