Should the files be saved inside the "Library" folder ?

Discussion in 'iOS Programming' started by aneuryzma, May 22, 2011.

  1. macrumors newbie

    Joined:
    May 9, 2011
    #1
    I need to store some images in my application.

    Should the files be saved inside the "Library" folder ?

    According to Apple documentation, the "Document" folder is for user files, while "Library" folder is for application files.

    Thanks
     
  2. macrumors 6502a

    Joined:
    Apr 1, 2007
    #2
    You should put them inside the application bundle under resources.
     
  3. thread starter macrumors newbie

    Joined:
    May 9, 2011
    #3
    OK. Then, what's Library for ?

    From Apple documentation, it is a directory for application files. For what should I use it and which files ?
     
  4. macrumors 6502a

    Joined:
    Apr 1, 2007
    #4
    ~/Library/Application Support/APP should be used for non constant files used by the application, which can be created from the application or unloaded from the binary on first run. Databases, addons, settings other than the main prefs file etc.
     
  5. macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008

Share This Page