Find Jobs
Hire Freelancers

fix a small objective c code

$10-30 USD

Closed
Posted about 6 years ago

$10-30 USD

Paid on delivery
i want to fix this small code to work correctly " it is an iOS code to select a row in a table, but if i click any row it always select or deselect the first row" : - (void)SelectItemContact:(id)sender{ if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 7){ UIButton *myBtn=(UIButton *)sender; UITableViewCell *cell=(UITableViewCell *)[myBtn superview].[login to view URL]; NSLog(@"您点击了第 %d %d行",[[login to view URL] indexPathForCell:cell].section,[[login to view URL] indexPathForCell:cell].row ); { [login to view URL] = (TKContact *)[[_listContent objectAtIndex:[[login to view URL] indexPathForCell:cell].section] objectAtIndex:[[login to view URL] indexPathForCell:cell].row]; [login to view URL] = ![login to view URL]; NSMutableArray *newArray = [[_listContent objectAtIndex:[[login to view URL] indexPathForCell:cell].section]mutableCopy]; [newArray replaceObjectAtIndex:[[login to view URL] indexPathForCell:cell].row withObject:[login to view URL]]; [_listContent replaceObjectAtIndex:[[login to view URL] indexPathForCell:cell].section withObject:newArray]; } [[login to view URL] reloadData]; } else{ UIButton *myBtn=(UIButton *)sender; UITableViewCell *cell=(UITableViewCell *)[myBtn superview]; NSLog(@"您点击了第 %d %d行",[[login to view URL] indexPathForCell:cell].section,[[login to view URL] indexPathForCell:cell].row ); { [login to view URL] = (TKContact *)[[_listContent objectAtIndex:[[login to view URL] indexPathForCell:cell].section] objectAtIndex:[[login to view URL] indexPathForCell:cell].row]; [login to view URL] = ![login to view URL]; NSMutableArray *newArray = [[_listContent objectAtIndex:[[login to view URL] indexPathForCell:cell].section]mutableCopy]; [newArray replaceObjectAtIndex:[[login to view URL] indexPathForCell:cell].row withObject:[login to view URL]]; [_listContent replaceObjectAtIndex:[[login to view URL] indexPathForCell:cell].section withObject:newArray]; } [[login to view URL] reloadData]; } }
Project ID: 16495812

About the project

15 proposals
Remote project
Active 6 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
15 freelancers are bidding on average $23 USD for this job
User Avatar
Hello Sir! I'm Yashwant, will be glad to assist you with your project. I am really experienced mobile developer working with different technologies. Please contact me, will be there to discuss the scope of work. Please check my recent work Portfolio. https://www.freelancer.com/u/yashwantdhangar.html Regards, Yashwant
$50 USD in 1 day
4.9 (116 reviews)
8.3
8.3
User Avatar
Hi, How are you? I am a mobile app developer with over 5 years of development experience. I’ve carefully gone through your job post. I am very much interested in your project with all of your requirements. I feel very confident on your project and You will get the "Best Result" if you work with me. I work hard and you will surely get the result in a promised time. If you give me all information about your job, I can start working immediately. If you want, I will show you my previous work... Looking forward to discussing with you the details. Best regards.
$25 USD in 1 day
5.0 (13 reviews)
6.2
6.2
User Avatar
Hi, It will be an honour for me to work with you. I have got 5 years of iOS development experience. Lets discuss and fix it asap. Looking forward to hear from you.
$25 USD in 1 day
4.9 (49 reviews)
6.4
6.4
User Avatar
Hi. Please award the project and create a milestone payment, I can help you to fix it today. Thanks and hope to work with you.
$30 USD in 1 day
4.6 (109 reviews)
6.8
6.8
User Avatar
A proposal has not yet been provided
$10 USD in 1 day
4.9 (107 reviews)
5.7
5.7
User Avatar
Hello Sir/Madam, I can fix it very easily. Let me know if I can help you in this matter.. Thanks.......................................................
$10 USD in 1 day
4.9 (11 reviews)
5.2
5.2
User Avatar
Hi there, I’d like to be considered for your project. I’m a iOS/Android developer with a strong background developing skills, including Apps of various categories. I can convert your ideas into Apps within very low cost and full support thereafter. For 5 years I’ve worked in a software development company and so I am accustomed to development of all sorts of Apps. You can just check my profile to get more info. I highly value professionalism and hold myself strictly accountable to represent my client’s brand. I aim to form a long-term working relationship. Thank you for your consideration.
$10 USD in 1 day
5.0 (14 reviews)
3.8
3.8
User Avatar
Hi, Hope you are doing well!! I have gone through the brief of your requirements and I am confident that my skills and abilities fit well with your requirements. I firmly believe that the quality is not something that we can achieve by accident, but it is something that requires the great level of intention, sincere efforts, excellent planning. My purpose would be your satisfaction. Thank you for your time and consideration. I am expecting you response/questions. If it can be of any assistance to you, please feel free to contact me. Please initiate the chat for detailed discussion. I look forward to hearing from you soon. Thanks
$10 USD in 1 day
4.6 (3 reviews)
2.3
2.3
User Avatar
For this small, i have not added cover letter description. The code you have written is fine only problem is due to section. Just tell me your app have multiple section or only one section?? Cost: $5
$10 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
It will be fixed . Relevant Skills and Experience Objective c, Swift , sqlite ,Core data
$20 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
I can help you with this error, it is some basic stuff. look at my profile so you can see I can solve your problem
$30 USD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello I am a iOS/Mac developer and I find myself a good candidate to solve this kind of problems. I have years of experience of iOS app development. Looking forward to your response. Br Vikram Sinha
$20 USD in 2 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of PALESTINIAN TERRITORY
Ramallah, Palestinian Territory
5.0
8
Payment method verified
Member since Jun 10, 2016

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.