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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-01-2009, 02:43 AM   #18 (permalink)
orange gold
Gold Orange
 
orange gold's Avatar
 
Join Date: Sep 2008
Posts: 679
Default

perhaps you could just manual enter all of the jokes through code... it would appear to be easier in my opinion
Code:
NSArray *myranjoke = [NSArray arrayWithObjects: 
				@"Joke #1 goes here",
				@"Joke #2 goes here",
				@"Joke #3 goes here,
				@"Joke #4 goes here", nil]; // you can add as many as you want.. not just 4
	int chosen = arc4random() % [myranjoke count];
	nameofUiLabel.text = [myranjoke objectAtIndex: chosen];
orange gold is offline   Reply With Quote
 

» Advertisements
» Online Users: 330
21 members and 309 guests
ADY, chemistry, Duncan C, fkmtc, HemiMG, her-ur, iDifferent, leahov, MarkC, marto1914, Meoz, nicko, padsoftware, Raffaello, sneaky, sojourner, syver, tathaastu, Thrillhouse1919, timle8n1, ziocleto
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,877
Threads: 89,220
Posts: 380,714
Top Poster: BrianSlick (7,129)
Welcome to our newest member, peterkessler45
Powered by vBadvanced CMPS v3.1.0

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