Programming Reference/Librarys
Question & Answer
Q&A is closed
unsigned int myUnsignedInt = 1; //******************** Initializing NSNumber Object ************************* //** NSNumbers need to be released, if you`re not working with ARC! ** NSNumber *myUnsignedIntNumber = [[NSNumber alloc]initWithUnsignedInt:myUnsignedInt]; NSLog(@"myUnsignedIntNumber: %@", myUnsignedIntNumber);
2012-10-07 19:59:28.764 NSNumberSample[269:f803] myUnsignedIntNumber: 1