I’m using xml to export mysql information to ios, and that saves it in an array. However, I have static cells for my table. How would I be able to call a string from the array, seeing as how I cannot use objectForIndex….
Share
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.
There’s no reason why you can’t use objectAtIndex: to populate a static cell with data. In the tableView:cellForRowAtIndexPath: method, you usually return the static cell via its IBOutlet, but there’s no reason you can’t set a value for a label (or any other UI element) in that static cell before returning it.