Re: Project organisation advice needed
Re: Project organisation advice needed
- Subject: Re: Project organisation advice needed
- From: Marshall Clow <email@hidden>
- Date: Wed, 14 May 2008 09:59:11 -0700
At 11:28 AM -0500 5/14/08, Rakesh Vidyadharan wrote:
Content-Type: multipart/signed; boundary=Apple-Mail-550-547106248;
micalg=sha1;
protocol="application/pkcs7-signature"
I am in the process of developing my first ObjC/Cocoa application (a
simple game). I would appreciate some advice on distributing the
game data files with the application. I am thinking of placing the
data files under a files/games directory in the package. I will
also need to allow players to save an in-progress state for
reloading later.
For that I am thinking of a files/saved directory in the package. A
problem with software updates comes immediately to mind if I place
the saved games within the package.
Not to mention the fact that your application package may not be writable.
/Applications is not writable for non-admin users.
Writing back to your application's package is a bad idea. Don't do it.
[ Search the list archives - this is a discussion that has happened before ]
The second question would be what would be the best place for saved
in-progress files? ~/Library/Caches/..., ~/Library/Application
Support/ come to mind. The only problem I have is that I will need
to port the game to iPhone/iPod Touch and since I have neither I
have no idea whether a similar directory structure is available on
those devices.
I don't have any advice for you about the iPhone/touch, but I think
that ~/Library/Application Support is a fine place to save that
stuff. "Caches" implies something that can be thrown away w/o major
inconvenience, and may not be backed up by Time Machine (by default).
--
-- Marshall
Marshall Clow Idio Software <mailto:email@hidden>
It is by caffeine alone I set my mind in motion.
It is by the beans of Java that thoughts acquire speed,
the hands acquire shaking, the shaking becomes a warning.
It is by caffeine alone I set my mind in motion.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden