Matt Gallagher的UITableView(Revisited)+ NSFetchedResultsController [英] Matt Gallagher's UITableView (Revisited) + NSFetchedResultsController

查看:107
本文介绍了Matt Gallagher的UITableView(Revisited)+ NSFetchedResultsController的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果你看看Matt Gallagher的Cocoa With Love博客,他会在一个新鲜的在UITableView上的一个美丽的重拍 ...在后,他谈到它的动画和异构单元格等许多好处。但是,他列出的限制之一是一点点-stopper对我来说。它不会与NSFetchedResultsController工作。将数据加载到单元格的设计假设所有数据都是静态的,并且可立即使用。但是,如果您正在构建一个包含许多行的表,并且您的数据由Core Data中的对象组成,那么如果您访问了FRC的高速缓存和动态加载功能,您的视图控制器可能会受益匪浅。

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.

我的问题:有没有人把任何努力重新任务他的访问UITableView设计使用NSFetchedResultsController?

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.

推荐答案

哈! Good to go ...更改重新访问表,以支持核心数据下载

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

这篇关于Matt Gallagher的UITableView(Revisited)+ NSFetchedResultsController的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆