如何标记多个UITableViewCell并对标记的单元格执行操作? [英] How to mark multiple UITableViewCells and perform an action on marked cells?

查看:120
本文介绍了如何标记多个UITableViewCell并对标记的单元格执行操作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想做的很多邮件应用程序的功能:当我选择编辑时,而不是通常的删除按钮,可以由用户检查的一侧显示单选按钮,然后用户可以单击按钮对标记的单元格执行操作(任何类型的操作不仅仅是删除)。是否有任何苹果示例代码可以执行此操作?有人可以提供一些有关如何执行此操作的代码或文档吗?谢谢。

I would like to do pretty much what the Mail Application does: that when I select Edit, instead of the usual Delete Button, Radio Buttons appear on the side that may be checked by the user, then the user may click on a Button to take an action on the marked cells(any kind of action not just delete). Is there any apple sample code that does this?, can anyone please provide some code or documentation on how to do this?. Thank you.

-Oscar

推荐答案

这是一篇好文章关于进行邮件式多重选择:

Here is a good article about doing a Mail-style multiple selection:

http://cocoawithlove.com/2009/01/multiple-row-selection-and-editing-in.html

这篇关于如何标记多个UITableViewCell并对标记的单元格执行操作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆