Assertion failure when i use the Add Function

前端 未结 3 709
梦如初夏
梦如初夏 2021-01-03 15:31

In a table, I have 3 indexes which calls each a function. In each function, there is an add button that adds data into CoreData. First 2 works, but when i press the 3rd inde

3条回答
  •  天涯浪人
    2021-01-03 16:21

    return [[[self.fetchedResultsController sections] objectAtIndex:section] numberOfObjects];
    

    At least it worked for me

提交回复
热议问题