Find Jobs
Hire Freelancers

fix a small objective c code

$10-30 USD

已关闭
已发布大约 6 年前

$10-30 USD

货到付款
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]; } }
项目 ID: 16495812

关于此项目

15提案
远程项目
活跃6 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
15威客以平均价$23 USD来参与此工作竞价
用户头像
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 在1天之内
4.9 (116条评论)
8.3
8.3
用户头像
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 在1天之内
5.0 (13条评论)
6.2
6.2
用户头像
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 在1天之内
4.9 (49条评论)
6.4
6.4
用户头像
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 在1天之内
4.6 (109条评论)
6.8
6.8
用户头像
A proposal has not yet been provided
$10 USD 在1天之内
4.9 (107条评论)
5.7
5.7
用户头像
Hello Sir/Madam, I can fix it very easily. Let me know if I can help you in this matter.. Thanks.......................................................
$10 USD 在1天之内
4.9 (11条评论)
5.2
5.2
用户头像
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 在1天之内
5.0 (14条评论)
3.8
3.8
用户头像
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 在1天之内
4.6 (3条评论)
2.3
2.3
用户头像
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 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
It will be fixed . Relevant Skills and Experience Objective c, Swift , sqlite ,Core data
$20 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
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 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
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 在2天之内
0.0 (0条评论)
0.0
0.0

关于客户

PALESTINIAN TERRITORY的国旗
Ramallah, Palestinian Territory
5.0
8
付款方式已验证
会员自6月 10, 2016起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。