On Wed, 7 Dec 2016 10:25:46 -0500, Charles Jenkins said:

>When the app starts up, we call NSUserDefaults.standard.register( [ “bgm” :
><myfilename> ) to default to the real file name, so the user will hear

Charles,

It's also best practice not to store file names/paths, but instead to store 
"bookmarks".  See NSURL's 
bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:.

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to