Find Jobs
Hire Freelancers

iPhone Button Target Help

$30-50 USD

Closed
Posted about 14 years ago

$30-50 USD

Paid on delivery
I have the code below? for a UISlider and a UISwitch control event, I build many of these buttons dynamically. [buttonControl addTarget:self action:@selector(switchAction:) forControlEvents:UIControlEventValueChanged]; [sliderControl addTarget:self action:@selector(sliderAction:) forControlEvents:UIControlEventValueChanged]; When I press the button I want to call a function that calls a web page (specific/different for each button), the webpage will output a message that should be shown in a message box, if the message box is empty is should say there was an error and revert the control to its previous value. so the function (this is psudeo code)? would be somthing like: function callWebPage(currentValue, newValue, url) { ? ? ? ? strMessage = downloadWebPage(url + "&status=" + newValue); ? ? ? ? if(strMessage=="") ? ? ? ? { ? ? ? ? ? ? ? ? msgbox("sorry there was an error") ? ? ? ? } ? ? ? ? else ? ? ? ? { ? ? ? ? ? ? ? ? msgbox = strMessage; ? ? ? ? } } This project is to complete the psudeo code so that the application behaves as described above.
Project ID: 3350813

About the project

5 proposals
Remote project
Active 14 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
5 freelancers are bidding on average $28 USD for this job
User Avatar
See private message.
$25.50 USD in 1 day
5.0 (70 reviews)
7.1
7.1
User Avatar
See private message.
$42.50 USD in 1 day
5.0 (37 reviews)
6.0
6.0
User Avatar
See private message.
$21.25 USD in 1 day
5.0 (29 reviews)
5.4
5.4
User Avatar
See private message.
$34 USD in 1 day
5.0 (1 review)
3.5
3.5
User Avatar
See private message.
$17 USD in 1 day
5.0 (3 reviews)
2.3
2.3

About the client

Flag of UNITED KINGDOM
London, United Kingdom
4.2
65
Payment method verified
Member since May 8, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.