Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > Mac OS X Development Forums > Objective-C, Python, Ruby Development

Reply
 
LinkBack Thread Tools Display Modes
Old 11-07-2010, 06:58 AM   #1 (permalink)
Registered Member
 
Join Date: Oct 2010
Posts: 1
Vision is on a distinguished road
Default How to store data within my Application

Hi,

I am developing for the iOS, I want to develop an application that teaches a single subject using a set of data stored on cards.

I have created the card class and instances are held in an NSMutableArray.

I was wondering how best to store this data, I don't want to use archiving or core data services, I want to 'hard code' this data into the application executable, mainly to prevent third parties from producing replacement subjects.

I intend to reuse the application for many other subjects releasing each as a separate app.

At the moment my plans are to fill the cards out in code and place them into the array, as I see it, if I do it this way, when the app is loaded the data will be loaded at the same time, BUT when the init code runs and loads the array I will in effect use double the amount of memory.

I am new to objective-c so I expect theres a proper way to encapsulate data into the app, but I have yet to find it.

any help or pointers on what to go learn about would be much appreciated.


Vis
Vision is offline   Reply With Quote
Reply

Bookmarks

Tags
memory handling, storage

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 480
15 members and 465 guests
7twenty7, AlanFloyd, AppsBlogger, David-T, iAppDeveloper, imac74, Jaxen66, lovoyl, Music Man, mutantskin, Sami Gh, SLIC, solardrift, unicornleo, usernametaken
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,683
Threads: 94,131
Posts: 402,932
Top Poster: BrianSlick (7,990)
Welcome to our newest member, unicornleo
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:12 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0