NSString *myRandomNumber = [NSString stringWithFormat: @"%u", arc4random()];
1.31.2012
Objective-C: Creating a Random Number and Storing To NSString
I wanted to generate a random number and convert it to NSString:
Labels:
iOS,
Objective-C
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment