What location do OSX/Cocoa applications generally use to store data files?

bundle, cocoa, macos

Solution

Mac app data is now stored in `~/Library/Containers/YOUR-APP`.

Problem

Do they write/store them within the app bundle/package itself? Or some other canonical location? Or does there not seem to be any standard?

Original source