DeletableCell.m
上传用户:xy800802
上传日期:2020-12-29
资源大小:194k
文件大小:0k
源码类别:

iPhone

开发平台:

Objective-C

  1. #import "DeletableCell.h"
  2. @implementation DeletableCell
  3. - (void)removeControlWillHideRemoveConfirmation:(id)fp8
  4. {
  5.     [ self _showDeleteOrInsertion:NO
  6.           withDisclosure:NO
  7.           animated:YES
  8.           isDelete:YES
  9.           andRemoveConfirmation:YES
  10.     ];
  11. }
  12. - (void)_willBeDeleted
  13. {
  14.     int row = [ table _rowForTableCell: self ];
  15.     /* Do something; this row is being deleted */
  16. }
  17. - (void)setTable:(MyTable *)_table {
  18.     table = _table;
  19. }
  20. @end