Compare NSNumber with an int
Compare NSNumber with an int
- Subject: Compare NSNumber with an int
- From: Roberto <email@hidden>
- Date: Mon, 15 Dec 2003 11:50:43 +0100
How can I compare an NSNumber with an int?
The first 2 methods return me errors
with:
if(Number == 10)
with:
if([Number isEqualToNumber]: 10)
or with??
_______________________________________________
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.