I got a small problem i got a JSON feed like
[
{
id: "7",
title: "",
},
id: "8",
title: ""
}
]
Now i want to count al ‘objects’ in my JSON i tried;
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.
Well first of all your feed looks invalid.
Other than that, your code looks functional..
Edit
Nope, NSBum is right. data should not be a count.
Also, after viewDidAppear, you should call -[UITableView reloadData] on the tableview that is requesting. It may have called for its data before you set the tableData variable.
also, you should be calling for information on the property rather than the ivar