开发者

Default Directory of NSKeyedArchiver

开发者 https://www.devze.com 2023-01-18 14:40 出处:网络
I\'m using NSKeyedArchiver to save an object. I didn\'t write out a full path in the path argument so my file is being written somewhere in the Apple iPhone simulator.开发者_如何学运维

I'm using NSKeyedArchiver to save an object. I didn't write out a full path in the path argument so my file is being written somewhere in the Apple iPhone simulator.

开发者_如何学运维

What directory is my file going to?

[NSKeyedArchiver archiveRootObject:self toFile:@"Vanilla"];

Thanks!

mj


I figured it out. It was writing it to root "/". mj

0

精彩评论

暂无评论...
验证码 换一张
取 消