• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Project organisation advice needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Project organisation advice needed


  • Subject: Project organisation advice needed
  • From: Rakesh Vidyadharan <email@hidden>
  • Date: Wed, 14 May 2008 11:28:59 -0500

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.

Anyway, the first question is how to add a directory tree (files/games/ xxx) to my Xcode project? I see a Resources node in Xcode. Is that where I would add my data files? If yes, how do I convince Xcode to impose a directory structure. It looks like I cannot force a particular directory structure (although I can live with that if necessary). Also what would be path to reference these files from my application?

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 realise that this information might be under NDA and hence non disclosable, but if it is not I would appreciate some advice here as well.

Thanks
Rakesh


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: Project organisation advice needed
      • From: Philip Aker <email@hidden>
    • Re: Project organisation advice needed
      • From: Marshall Clow <email@hidden>
    • Re: Project organisation advice needed
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: Publishing Applications
  • Next by Date: Re: Project organisation advice needed
  • Previous by thread: Re: Bug ID 5927392: XCODE must be able show C++/ObjC overloaded methods in a window as CodeWarrior
  • Next by thread: Re: Project organisation advice needed
  • Index(es):
    • Date
    • Thread