问题描述
通过Core Data Fetched属性,我如何执行这个简单的请求:
With Core Data Fetched Properties, how do I perform this simple request:
我想要Fetched属性( myFetchProp
)存储到 StoreA
,它应该:
I want the Fetched Property (myFetchProp
) to be on store StoreA
, and it should do:
[myFetchProp getMeRecordWithPredicate:@"X == 35" inEntity:@"entityH" fromStore:StoreB];
原谅我的错误语法,但我想我的观点很容易理解。
Forgive my wrong-syntax, but I suppose my point is easy to understand.
我在网上找不到任何简单明了的例子。
I can’t find any simple and clear example on the net. I presume that should not be so difficult.
推荐答案
因为我刚刚读过Marcus S. Zarra的(第2版) (请参阅和)让我引用它在主题:
Since I have just read Marcus S. Zarra's Core Data: Data Storage and Management for iOS, OS X, and iCloud (2nd edition) (see here and here) let me quote it on the topic:
因此,获取的属性可能很简单的假设可能是错误的。
So the assumption that fetched properties can be simple may be wrong.
这篇关于Core Data Fetched属性 - 基本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!