ios - enable -tableView:commitEditingStyle:forRowAtIndexPath for only specific cell -


normally, when define -tableview:commiteditingstyle:forrowatindexpath, can switch cells editing mode swiping.
but, i'd enable -tableview:commiteditingstyle:forrowatindexpath specific cell.
possible?

there delegate method of table view

tableview:caneditrowatindexpath: 

where can define whether row can edit or not specific index path.

hope helps.


Comments

Popular posts from this blog

IF statement in MySQL trigger -

c++ - What does MSC in "// appease MSC" comments mean? -

android - MPAndroidChart - How to add Annotations or images to the chart -