开发者

UITableView: Check rows in edit mode

开发者 https://www.devze.com 2022-12-08 00:37 出处:网络
I\'m new to iPhone SDK 3.0. 开发者_如何学C I\'ve seen table view edit mode where you can check multiple row items and then delete them or move them.

I'm new to iPhone SDK 3.0.

开发者_如何学C

I've seen table view edit mode where you can check multiple row items and then delete them or move them.

The picture here (http://twitpic.com/khmog) illustrates what I mean. I've also seen this in several other apps, such as "Groceries".

Could anyone tell me how to do this? Can this be done using 3.0 APIs? Thanks.


It seems that Apple uploaded "TableMultiSelect" as sample codes on iOS Developer Program since 2011-10-12.

It explains only multiple deletion, but I suppose you can change it for moving.

Though it can be used only from iOS5.. http://developer.apple.com/library/ios/#samplecode/TableMultiSelect/Introduction/Intro.html


I've found a solution here:

http://iphonedevelopment.blogspot.com/2008/10/table-view-multi-row-edit-mode.html


There was a demonstration of this on the CS193P course (available on iTunes U). I'm pretty sure it was the Loren Britcher session.

0

精彩评论

暂无评论...
验证码 换一张
取 消