views:

37

answers:

0

Hi.

I've used NSMutableArray writeToFile for created a file(levels.txt) which contains the levels state on my game (level locked, unlocked or level done)

Level0: Done
Level1: Unlocked
Level2: Locked
...
Level8: Unlocked
...

The resulting file(XML) is in /Users//Library/Application Support/iPhone Simulator/4.0/Applications//Library/levels.txt

I have no problem creating, reading or writing this file in my App but...

¿How can I used THIS file(as a database) in my final executable(in the device)?

I know how to access to the app sandbox using Xcode >> Organizer but... I can't add files, only download o read them.

Thank you for reading ;)