开发者

What are potential obstacles when switching from XML to SQLite Core Data store?

开发者 https://www.devze.com 2023-01-30 21:30 出处:网络
For example, when using 开发者_如何学运维entity.name in NSPredicate, I needed to change setFetchPredicate to setFilterPredicate, the 1st one was working just fine with XML store, SQLite required 2nd o

For example, when using 开发者_如何学运维entity.name in NSPredicate, I needed to change setFetchPredicate to setFilterPredicate, the 1st one was working just fine with XML store, SQLite required 2nd one.

I found: this message but couldn't find anything related in the list archive.

Is there any list with all valid NSPredicate statements?

When garbage collection can cause troubles?


See the section titled "Fetch Predicates and Sort Descriptors" of the Core Data Programming Guide for SQLite-specific limitations.

I'm not aware of any Core-Data-specific limitations in a Garbage-Collection-enabled environment - the reference in the e-mail you posted is news to me. A quick Google search revealed this thread and it's the first I'm hearing of this issue. I certainly never encountered it despite having a similar setup in a compute-intensive app that used Core Data + SQLite store type.

You'll need to be a lot more specific about your first question, however. I'm not sure what you mean.

0

精彩评论

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

关注公众号