Re: Random numbers?
Re: Random numbers?
- Subject: Re: Random numbers?
- From: "I. Savant" <email@hidden>
- Date: Wed, 4 Jul 2007 10:52:56 -0400
On Jul 4, 2007, at 10:43 AM, William Squires wrote:
What's the proper way to get a random number in ObjC/Cocoa? I need
it in an NSNumber to put in an NSArray. Thanks.
The same way it's done in C++. You can then create an NSNumber
with the result.
--
I.S.
_______________________________________________
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