So I found some old code where I was using NSAppleScript with "defaults write" 
ouch! :-)  Sorry about that but curious why would this fail at times?  Pretty 
sure that switching it to the proper NSUserDefaults will work fine…



> On Dec 11, 2014, at 10:24 PM, gweston <gwes...@mac.com> wrote:
> 
> Rick C. <rickcort...@gmail.com> wrote:
> 
> I write an NSString and NSData object to my app’s .plist and of course read 
> it back when needed and this works fine 99% of the time. On occasion a user 
> reports some trouble to me and I ask for the .plist and find out that this 
> NSString/NSData object is missing. Digging deeper I find that most often the 
> user has their home folder on a different drive (external?) than the actual 
> app. What would be the solution to make sure these objects are written 
> properly in this case? Thanks for the help,
>  
> This is one of those things that should "just work" and has, in fact, been 
> working for a very long time. So I think the initial response has to be to 
> ask how you're writing those objects to the plist.
> _______________________________________________
> 
> 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/rickcorteza%40gmail.com
> 
> This email sent to rickcort...@gmail.com


_______________________________________________

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