Matt Gallagher's UITableView (Revisited) + NSFetchedResultsController

一世执手 提交于 2020-01-22 04:45:46

问题


If you look at Matt Gallagher's Cocoa With Love blog, he has a brilliant discussion (with sample code) on a fresh a beautiful retake on UITableView ... In the post, he talks about it's great many benefits of animations and heterogeneous cells, etc. However, one of the limitations he lists is a bit of a show-stopper for me. It won't work with NSFetchedResultsController. The design of loading data into the cells assumes that all that data is static and available immediately. However, if you are building a table with many rows and your data consists of objects in Core Data, your view controller would likely benefit greatly if you had access to the cacheing and dynamic loading capability of FRC.

My question: Has anyone put any effort into re-tasking his revisited UITableView design for use with NSFetchedResultsController? If someone's already done it (or is working on it), I would love (LOVE) to try it in my work or even help develop it.


回答1:


Good to go... Changed Table Revisited, To support the Core Data Download.



来源:https://stackoverflow.com/questions/6713707/matt-gallaghers-uitableview-revisited-nsfetchedresultscontroller

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!