Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Tander

macrumors 6502a
Original poster
Oct 21, 2011
676
1
Johannesburg, South Africa
Hey guys,

Can anyone recommend a good tutorial on getting live web data into UITableViewCells.

I'm just cementing my understanding of Table Views and just completed my own project with hard coded data in the cells and detailed view.

Now, I want to look into getting data from the web and storing it in cells.

So, for a blog - maybe in each cell I can set:

1. The image
2. Blog Title
3. - Author

Then go from there...

I know how to set those three items - I just need a nice tutorial on setting those details from a blog or website that has those attributes, etc.

Thanks guys!
 

dejo

Moderator emeritus
Sep 2, 2004
15,982
452
The Centennial State
If you can get the info you need from the web in an XML (which RSS feeds are) or JSON format, you'll save yourself some headaches, since they are easier to parse.
 

MattInOz

macrumors 68030
Jan 19, 2006
2,760
0
Sydney
Now, I want to look into getting data from the web and storing it in cells.

Just a friendly reminder Tableview cells are view objects not model objects.
They display with care but are very fickle with your data. :)

I'm sure the tutorials will go in to storing your web data vs. displaying it.
 

Tander

macrumors 6502a
Original poster
Oct 21, 2011
676
1
Johannesburg, South Africa
Just a friendly reminder Tableview cells are view objects not model objects.
They display with care but are very fickle with your data. :)

I'm sure the tutorials will go in to storing your web data vs. displaying it.

Yes, I am aware that the cells need to display and the model needs to store.

Thanks for the reminder though.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.