I could’t setvalue of selected index with nsmutablearray.There is my code:
[[retArray objectAtIndex:1] setValue:str forKey:@"name"];
this line give error. What is the error?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
correct code should be is
or
or if you are using a dictionary