• 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: anyObject
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: anyObject


  • Subject: Re: anyObject
  • From: Robert Goldsmith <email@hidden>
  • Date: Thu, 31 Jan 2002 16:52:59 +0000

The "randomness" means there is no way to tel before which object will be
returned, *NOT* that it would or should be a different one each time.


So the docs are misleading?
Ok, then if I want to select a random object from a set, what do you suggest? I don't need the objects to be ordered in any way. Storing them in an array then using a random number to access an index seems silly when anyObject would have been such a good way to do it!

Robert Goldsmith


  • Follow-Ups:
    • Re: anyObject
      • From: Ondra Cada <email@hidden>
    • Re: anyObject
      • From: Marco Scheurer <email@hidden>
References: 
 >Re: Fwd: anyObject (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: PB bug or feature??
  • Next by Date: Re: PB bug or feature??
  • Previous by thread: Re: Fwd: anyObject
  • Next by thread: Re: anyObject
  • Index(es):
    • Date
    • Thread