开发者

Is NSFetchedResultsController also caching the record set itself, or just some meta data about table display stuff?

开发者 https://www.devze.com 2022-12-16 06:33 出处:网络
I fear my english is too bad for the documentation ;) it feels like they try to say, a NSFetchedResultsController also caches the record set itself, hence it may query some lame web source for half an

I fear my english is too bad for the documentation ;) it feels like they try to say, a NSFetchedResultsController also caches the record set itself, hence it may query some lame web source for half an hour and then the next time display that data super fast from the cache? Or does it just cache some data about "how to display the 开发者_如何学JAVAstuff"?


NSFetchedResultsController fetches data from your Core Data store. It does not fetch data from other sources such as the web. You can fetch data from the web and insert it into your managed object context which can then be fetched.

As part of Core Data, NSFetchedResultsController benefits from optimizations including caching of managed objects (record data) for performance.

0

精彩评论

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