Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7790161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:30:15+00:00 2026-06-01T21:30:15+00:00

I am developing a Cocoa application, and it requires 10.7+. So, I will gladly

  • 0

I am developing a Cocoa application, and it requires 10.7+. So, I will gladly use the new shiny APIs.

What I would like to do is download some MP3s and probably some XML data from our back-end server, and store it on the user’s Mac. I would much like to store it within the “application.app” directory, alongside the initial resources that are bundled with the application.

Can I do that? Store files within the application.app?

If not, where is the preferred directory to store the additional data?

NOTE: It must support apple’s new sandboxing thingie.


(Is this a good idea: reference)

// save our buddy list to the user's home directory/Library/Preferences.
    [prefs writeToFile:[@"~/Library/Preferences/MiniMessage Client.plist"
                    stringByExpandingTildeInPath] atomically: TRUE];
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T21:30:17+00:00Added an answer on June 1, 2026 at 9:30 pm

    Here’s Apple’s App Sandbox Design Guide and read the “Container Directories and File System Access”. The directory “~/Library/Container/com.yourcompany.yourappname/” and it’s subdirectories will be your Apps only, so seems to me that that directory would be your best place of saving the things you’ll be downloading from the web.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a cocoa application that will be making heavy use of both
I'm developing an installation like cocoa application wich needs to take care of some
I'm trying to build my first cocoa application. done some iPhone developing before. I
I am not much familiar with developing application using cocoa on mac. Can some
I'm fairly new to Cocoa and Objective-C. Currently I'm developing a fairly basic application
I'm pretty new to Objective-C. I'm developing a Cocoa application. Currently I'm looking for
I am developing a Cocoa/Objective-C application. I need to use an external device to
I'm developing a Cocoa Objective-C application that will run on Mac OS X. I
I am developing an OS X/Cocoa application and I want behavior like this: There
I am developing a Cocoa application which communicates constantly with a web service to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.