Pull from Documents folder instead of Resources folder
3 posters
Pull from Documents folder instead of Resources folder
Hi again,
Do I need to change anything in XCode so my app looks for assets in Documents instead of Resources?
Thanks!
Do I need to change anything in XCode so my app looks for assets in Documents instead of Resources?
Thanks!
chondrite- Posts : 24
Join date : 2009-06-15
Re: Pull from Documents folder instead of Resources folder
Not in XCode in the code... you need to get the document folder and get read access on the file. Check the source of the MeditationGarden...
Re: Pull from Documents folder instead of Resources folder
The Apple developer site has examples for this. You should also know that what you include in your "Resources" folder is what is "bundled" inside your application (.app). When your application is installed there will be nothing in your Documents (or any other sandbox folders). You will have to copy (or create) your data files and write them into the Documents folder from inside your app.
Good luck
PS The format ROm has created with SIO2 is great, I strongly suggest you use it.
:-)
Good luck
PS The format ROm has created with SIO2 is great, I strongly suggest you use it.
:-)
cybergreg- Posts : 21
Join date : 2009-07-21
Location : SoCal, USA
Similar topics
» Custom resources
» Resources - Assets and Instances
» rendering multiple resources
» Using Multiple Resources and sio2 files
» Resources - Assets and Instances
» rendering multiple resources
» Using Multiple Resources and sio2 files
Permissions in this forum:
You cannot reply to topics in this forum