OCUnit在哪里存储NSUserDefaults? [英] Where does OCUnit store NSUserDefaults?

查看:175
本文介绍了OCUnit在哪里存储NSUserDefaults?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我阅读了问题查看保存的NSUserDefaults的简便方法?

我找到了该应用程序的.plist文件,但是测试包的文件在哪里?

解决方案

似乎OCUnit不会持久存储NSUserDefaults,而是存储在内存中.但是,我可能错了.

I read the question Easy way to see saved NSUserDefaults?

I found the .plist file for the app, but where's the one for the testing bundle?

解决方案

It seems that OCUnit doesn't store NSUserDefaults persistently but rather in memory. But, I could be wrong.

这篇关于OCUnit在哪里存储NSUserDefaults?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆