Jump to content

iOS file system?


Josh
 Share

Recommended Posts

How does the iOS file system work? The standard C++ io functions compile just fine, but when I try to read a file it is always not found. Do I have to add files as resources in the Xcode project? I'd really prefer to store files in a real folder, not built into the project. Recompiling an app every time you add an art asset would be a pain.

My job is to make tools you love, with the features you want, and performance you can't live without.

Link to comment
Share on other sites

  • 2 weeks later...

iOS is similar to the mac apps. any folder with the ".app" extension automatically because an app based on apple's framework. The Info.plist is what determines the location in the folder the icon is at as well as the executable. For an example, go to your applications folder and right click on any app. Select show package contents and you should see a finder window appear with a fold called contents. Once opened you will see a property list file called "Info.plist", a resources folder, and a folder called MacOS. (actual names may vary based on developer). To get more information and details, open xCode and click on help, developer documentation, search for bundles or iOS bundles. Those should put you in the right direction to everything you may need to know.

bool Life()
{
 while(death=false)
 {
   if(death==true)
   return death;
 }
}

 

I have found the secret to infinite life

 

Did I help you out? Like my post!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...