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];
}
}
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
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.
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.
Hello Sir/Madam,
I can fix it very easily.
Let me know if I can help you in this matter..
Thanks.......................................................
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.
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
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
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