sách gpt4 ai đã đi

Thuộc tính tìm nạp dữ liệu cốt lõi - cơ bản

In lại 作者:行者123 更新时间:2023-12-01 22:41:11 28 4
mua khóa gpt4 Nike

使用 Core Data Fetched Properties,我如何执行这个简单的请求:

我希望获取的属性 ( myFetchProp ) 存储 StoreA ,它应该这样做:

[myFetchProp getMeRecordWithPredicate:@“X == 35” inEntity:@“entityH” fromStore:StoreB];

原谅我的错误语法,但我想我的观点很容易理解。

我在网上找不到任何简单明了的例子。我想应该不会那么难。

1 Câu trả lời

由于我刚刚阅读了 Marcus S. Zarra 的 Core Data: Data Storage and Management for iOS, OS X, and iCloud (第 2 版)(见 đâyđây )让我引用它的主题:

In practice, I have found fetched properties to be less useful and less flexible than either creating a stored fetch request or building the fetch request in code. Usually when a situation calls for a fetched property, it tends to be easier to subclass the entity in question, perform an NSFetchRequest in code, and return the results.



因此,获取的属性可能很简单的假设可能是错误的。

关于ios - 核心数据提取属性 - 基础,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28894809/

28 4 0
Bài viết được đề xuất: go - 如何从github获取AWS软件包
Bài viết được đề xuất: go - GOPATH 的正确设置是什么?
Bài viết được đề xuất: file - 如何在Go中附加到文件的开头?
Bài viết được đề xuất: arrays - 在字节数组上使用json.Unmarshal()时出现问题
行者123
Hồ sơ cá nhân

Tôi là một lập trình viên xuất sắc, rất giỏi!

Nhận phiếu giảm giá Didi Taxi miễn phí
Mã giảm giá Didi Taxi
Giấy chứng nhận ICP Bắc Kinh số 000000
Hợp tác quảng cáo: 1813099741@qq.com 6ren.com