• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Random numbers?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Random numbers?


  • Subject: Re: Random numbers?
  • From: Matt Neuburg <email@hidden>
  • Date: Wed, 04 Jul 2007 08:52:14 -0700
  • Thread-topic: Random numbers?

On Wed, 4 Jul 2007 09:43:41 -0500, William Squires <email@hidden>
said:
>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.

I don't know about "proper", but man random. This will at least give you
some ideas.

m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



_______________________________________________

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

  • Follow-Ups:
    • Re: Random numbers?
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: "Visible at Launch" again, with "least" example
  • Next by Date: Re: Core Data and Document Packages
  • Previous by thread: Re: Random numbers?
  • Next by thread: Re: Random numbers?
  • Index(es):
    • Date
    • Thread