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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Free/cheap CAD software to lay out my new kitchen Fuzzy14 Design and Graphics 20 Dec 1, 2012 03:43 PM
Best way to restore iPhone while retaining data. What steps do you guys take? RockstarSR Jailbreaks and iOS Hacks 2 Nov 20, 2011 07:22 PM
what's the correct way to take out the SIM card? ZoomLens iPad 3 Jun 3, 2011 10:31 PM
Best way to lay out UI componenets / can a UIView contain a UIView springframework Mac Programming 2 Apr 1, 2008 05:24 PM
what is the correct way to stream movies to a 40 GB ATV? WizardHunt Apple TV and Home Theater 6 Feb 12, 2008 05:02 PM


All times are GMT -5. The time now is 02:27 AM.

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

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