Hi there,
I'm using Cocoa Touch to build an iPhone app.
I have an NSMutableArray called stories, that on printing to the console displays something like this:
2009-07-20 12:38:30.541 testapp[4797:20b] (
{
link = "http://www.testing.com";
message = "testing";
username = "test";
},
{
link = "http://www.testing2.com";
message = "testing2";
username = "test2";
} )
My question is, how can I loop through the array and for example print the value of 'link' each time? In PHP I'm familiar with simply going array[item] - is there any similar way in Objective-C? I'd like to loop through the array to eventually throw the data into a UITableView.
Thanks in advance.
Benji