Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 08-27-2008, 10:13 PM   #4 (permalink)
MDMstudios
MDM
 
MDMstudios's Avatar
 
Join Date: Apr 2008
Location: MT
Posts: 128
MDMstudios is an unknown quantity at this point
Default

Quote:
Originally Posted by spuy767 View Post
That's what I've been using, and I've been coming up with the exact same numbers no matter what I do every time I run the app.
Use arc4random(), random() is usually used for debugging because it should keep on being the same, but arc4random() will produce a new random number time you use it.
__________________
iphone.MDMstudios@gmail.com


MDMstudios is offline   Reply With Quote
 

» Advertisements
» Online Users: 503
21 members and 482 guests
AngryOrange, ArthurOff, Arty Tales, baja_yu, Bertrand21, bignoggins, David-T, dbramhall, fanarin, Feldspar, jbro, kln, lgehrig1, LooN3y, mini998, pbart, revg, shigaugi, skog, stephenmwatts, Thompson22
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,427
Threads: 94,024
Posts: 402,577
Top Poster: BrianSlick (7,978)
Welcome to our newest member, shakiraeb60
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:14 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.