我想讓用戶能夠刪除表格單元格的時刻我有刪除刷卡動作,但我不知道如何實際刪除選定的單元格!正如你可以告訴我在雨燕的Xcode 6.3.1UITableViewRowAction:刪除
var deleteAction = UITableViewRowAction(style: .Default, title: "Delete") { (action, indexPath) -> Void in
tableView.editing = false
println("deleteAction")
}
編程這裏是Dropbox的截圖,以及:Screenshot Of Delete Swipe Action
這一個工作,我有我的數組一些錯誤,但那是因爲它是一個讓不是變種!雖然謝謝! –