Getting NSFetchedResultsController, NSSortDescription and sectionNameForKeyPath to work together

后端 未结 4 1756
陌清茗
陌清茗 2021-01-18 02:23

I\'m currently working on an App that has a couple of Entities and relationships as illustrated below:

Item <<--> Category.

4条回答
  •  有刺的猬
    2021-01-18 02:46

    You probably need to subclass NSFetchedResultsController and customize the section name functions. See the NSFetchedResultsController class docs on subclassing.

提交回复
热议问题