In Progress

Beginner needs a simple code

Hello,

I m looking for a simple code that will display different text every time i clicked the button. Something like a jokes app.

What i have right now is a switch statement which is fine but how do i make it NOT random?

Example:

- (IBAction)button:(id)sender {

int text = arc4random() % 3;

switch (text) {

case 0:

[url removed, login to view] = @"Hello world";

break;

case 1:

[url removed, login to view] =@"Is this the right way of doing it" ;

break;

case 2:

[url removed, login to view] = @"looking for someone to help me out with this code";

break;

default:

break;

}

Also what would be the code do display previous text like having back button to return to previous text.

Thanks

Skills: iPhone, Mobile App Development

See more: beginner needs simple code, world code no, id to code, how code, code that, a simple c, jokes, hello world, for beginner, C# beginner , beginner, app sender, jokes example, case phone, text sender, random phone, simple app code example, app random iphone, app iphone random, break display app, iphone random app, random app iphone, iphone label, example jokes, iphone world

About the Employer:
( 3 reviews ) Clearwater, Serbia

Project ID: #1586105

10 freelancers are bidding on average $19/hour for this job

masIndia

Hello, thanks for project. Please check PM for more details and our previous work portfolio.

$25 USD / hour
(31 Reviews)
7.1
impressolbdm

Hello, Greetings, Our Company IMPRESSOL based out of INDIA Bangalore , having experienced developers having over 5 years of experience in Apple technologies including iPhone application development, Co More

$20 USD / hour
(4 Reviews)
5.6
kbest

Hi, I come across your post regarding Beginner needs a simple code. I feel that what we do might be a great fit for you. Please check PMB for further details (examples, etc). Looking forward to hear from you More

$30 USD / hour
(3 Reviews)
5.2
maxzou

Hi, I give a solution in the private message. Kind regards, Max

$25 USD / hour
(2 Reviews)
3.6
justgig8

Hello boss I'd love to help you out on these minor tasks. Thanks

$15 USD / hour
(4 Reviews)
3.7
vikramchowdary1

PLease Check PM

$15 USD / hour
(7 Reviews)
3.7
LeoLooper

Hello sir, This project is easy. I can help you remote to your computer, so you can be sure that thing is going right.

$15 USD / hour
(2 Reviews)
2.8
sureshjagnani

HI.. Please See PM.

$15 USD / hour
(0 Reviews)
0.0
secretout

Hello, it's very easy job for me.

$15 USD / hour
(0 Reviews)
0.0
niravlimbasiya

Hi, I am Nirav, Team Lead and Architect in iphone and Android. I have been working in this technology since last 2 Years. Please check my PM to you for more details. Thanks, Nirav

$15 USD / hour
(0 Reviews)
0.0