Works like a charm. Thanks!
> On 11 Mar 2018, at 6:03 AM, Quincey Morris
> wrote:
>
> On Mar 10, 2018, at 13:06 , Steve Christensen wrote:
>>
>> Don't complicate your life by managing multiple NSFetchedResultsControllers.
>> Just create a single one that returns Club entities.
>
> The other
On Mar 10, 2018, at 13:06 , Steve Christensen wrote:
>
> Don't complicate your life by managing multiple NSFetchedResultsControllers.
> Just create a single one that returns Club entities.
The other valid approach, I think, is to “join” the two entities. That is,
introduce a third entity, say
Don't complicate your life by managing multiple NSFetchedResultsControllers.
Just create a single one that returns Club entities. For your table view data
source methods:
func numberOfSections(in tableView: UITableView) -> Int
{
return frc.fetchedObjects.count
}
func tableView(_ tableView:
Hi,
I have two models: Person and Club. They have a many-to-many relationship. I
want to display all people in a table view sectioned by clubs (which means
there might be duplicate people across sections). I wonder how to do that with
NSFetchedResultsController? NSFetchRequest never returns the