如何在Core Data中为二进制数据启用外部存储 [英] How to enable External Storage for Binary Data in Core Data
问题描述
我想使用iOS 5中的核心数据的新的外部二进制数据。我已经看过关于它的文章,例如: http://bluecrowbar.com/blog/2011/08/coredata-external.html
除了告诉您勾选[允许外部储存空间]方块以外,其他所有项目都不会显示如何启用。
我有一个实体设置了一些属性作为二进制数据,但我找不到任何地方的复选框。有人可以解释我能找到它吗?感谢
确保您的属性设置为二进制数据类型,然后使用侧面板。
同时确保您使用Xcode 4.2
I would like to use the new External Binary Data for Core Data that came with iOS 5. I have had a look at articles about it such as: http://bluecrowbar.com/blog/2011/08/coredata-external.html
None of them actually show how to enable it other than telling you to check the box for "allow external storage".
I have an entity set up with some of its attributes as binary data but I can't find the checkbox anywhere. Could someone please explain where I can find it? Thanks
Make sure your attribute is set to the type 'Binary Data' and then use the side panel.
Also make sure you are using Xcode 4.2
这篇关于如何在Core Data中为二进制数据启用外部存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!