How to switch UITableView's NSFetchedResultsController (or its predicate) programmatically?

前端 未结 4 886
故里飘歌
故里飘歌 2020-12-08 17:43

I have a UITableView that displays a subset of a large number of entities named \"Documents\". The subset is defined by another entity \"Selection\". Selections are named, o

4条回答
  •  情书的邮戳
    2020-12-08 18:31

    While this may work there's a note in the iOS Reference Library that troubles me:

    Important: You must not modify the fetch request. For example, you must not change its predicate or the sort orderings.

    Source: NSFetchedResultsController Class Reference

    This additional note doesn't exist in the iOS 3.2 Reference Library.

    Just wanted to point this out.

提交回复
热议问题