我目前正在着手开发一个基于核心数据库的仪表,以便绘制一份地图,说明将产生于。 NSFetResledultsController。 地图观点的理念是,地图将显示用户节省的一些地点。
利用国家扫盲基金会的优势之一 主计长是,我可以把我作为代表的地图观点定在国家不动产基金管理人的网站上,并获悉在另一个装置上或当用户被贴上标签时,对所节省的地点所作的任何改动。
I am currently having a bit of trouble getting my head around how to deal with a number of different kinds of updates that are sent to my NSFetchedResultsControllerDelegate implementation. The documentation: http://developer.apple.com/library/ios/#documentation/CoreData/Reference/NSFetchedResultsControllerDelegate_Protocol/Reference/Reference.html doesn t seem to tell you how these different updates should be handled as it seems more geared towards integrating with a UITableView, which does most of the work.
I am keeping an NSDictionary of my annotations that maps them to the NSIndexPath inside the result set. The issue is, for example, when I receive 10 move, 3 insert and 4 delete updates, what order should I process these in? Some of these indexPaths will have a number of conflicting indices and the order in which they are processed will have an affect on the actual annotations I need to move, insert or delete. If I perform all the move updates first, then the insert indices will cause the final order to be different to their final order if I inserted first.
有没有现有的小型图书馆/班级,这些图书馆/班级将在更新一套更新员额指数之前翻译一套指数。 如果不是的话,谁能解释这一 st子是如何发挥作用的,以便我能写自己的话?
Any help will be greatly appreciated!