0

I have an application based on the Core Data Books example, and I'm coming to the conclusion that I need to give the user the ability to duplicate a row in the table - a set of data - and then let them edit this data, rather than always have them create a new record from scratch.

I was considering using the UITableViewCellEditingStyleInsert editing control to do this - the user would figure it out after one press that it duplicates an entry and does not insert a new one - since I use an "+" button in the Navigation Bar to add new records.

I cannot do this with a standard TableCell definition though - since I can only have Delete or Insert and not both, so I assume I'll have to create a custom table cell to do this.

Any other suggestions that will not clog up the UI with a bunch of extra "stuff?" Since I already have an "Edit" button in the Navigation Bar, it seems a logical extension to the Delete action to somehow add a Copy action.

Thanks,

-t

4

1 回答 1

1

也许有一个类似编辑的状态,点击“+”按钮或您当前用于创建新项目的任何 UI,而不是将表格置于编辑模式,所有插入而不是删除,带有“添加新”行,联系人 -风格,在底部?

于 2009-12-03T12:06:46.307 回答