Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 16, 2011, 07:53 PM   #1
MythicFrost
macrumors 68040
 
MythicFrost's Avatar
 
Join Date: Mar 2009
Location: Australia
Correct way to lay out a TableView's data?

Hi,

I'm setting up a web browser with bookmarks & history, I've had a look at this:
http://developer.apple.com/library/i...DataModel.html

And I'm wondering what's the best way to do this. Currently, I'm using NSMutableDictionaries within NSMutableDictionaries.

I.E, NSMutableDictionary root which is the root view; in root will be other NSMutableDictionaries and they will either be a bookmark (holding URL data, title, etc.), or a folder containing other bookmarks.

That makes it easy as I can just do [root writeToFile] and then [root initWithContentsOfFile] to save/load this data.

Would this be a good way to do what I'm doing? Or is there a better way?
MythicFrost is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
iTunes Radio uses Data, correct? Legion103 iOS 7 5 Sep 19, 2013 08:37 AM
How to correct maps road data (not POIs) rbrian iPhone 2 Oct 10, 2012 03:37 PM
After refreshing, some data in TableView remains old veliborsantic74 iPhone/iPad Programming 4 Sep 19, 2012 02:34 PM
Resolved: Help with TableView data troop231 iPhone/iPad Programming 2 Jun 26, 2012 12:49 PM
iOS 5 - Core Data TableView Sections based on NSDate Ranges mdhansen5 iPhone/iPad Programming 1 Jun 13, 2012 01:16 AM

Forum Jump

All times are GMT -5. The time now is 08:10 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC