func tableView(tableView: UITableView, canEditRowAtIndexPath indexPath: NSIndexPath) -> Bool {
return true
}func tableView(tableView: UITableView, commitEditingStyle editingStyle: UITableViewCellEditingStyle, forRowAtIndexPath indexPath: NSIndexPath) {
if (editingStyle == UITableViewCellEditingStyle.Delete) {
// handle delete (by removing the data from your…

--

--

--

iOS Developer, Triple graduated, Passionate, Love workout, blogger

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Custom URL Scheme | Deep-Link |

Center Constraints (AutoLayout iOS)

UILabel text underlining iOS

Creating a single object of its kind and ensuring a single point of access to it

UIFont in iOS

Contributing To A Open Source Library

iOS XCUITest - Cucumberish

Adding a Swift Bridging Header

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mr.Javed Multani

Mr.Javed Multani

iOS Developer, Triple graduated, Passionate, Love workout, blogger

More from Medium

MVVM-C Xcode Template to reduce development time

apple/swift-evolution 上關於 guard 的有趣討論

RxSwift Combination Operators: zip, combineLatest & withLatestFrom

Swift — Cocoapods Usage