ios - Enable edit of tableview with Core Data -


i make table view editable, i.e. click edit , gives option delete entries. understanding apple makes easy following code:

- (bool)tableview:(uitableview *)tableview caneditrowatindexpath:(nsindexpath *)indexpath  {     // return no if not want specified item editable.     return yes; }  - (uitableviewcelleditingstyle)tableview:(uitableview *)tableview editingstyleforrowatindexpath:(nsindexpath *)indexpath  {     return uitableviewcelleditingstyledelete; }  - (bool)tableview:(uitableview *)tableview shouldindentwhileeditingrowatindexpath:(nsindexpath *)indexpath  {     return no; } 

i had working when table in mutable array, since shifted core data , nsfetchedresults controller, while shows edit button on upper left , gives done button after click edit, table not editable.

is special needed core data or wrong?


Comments

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -