How To USe By Default Selecected Row And Checkmark UITableView In Swift
let indexPath = NSIndexPath ( forRow : 0 , inSection : 0 ); self . tableView . selectRowAtIndexPath ( indexPath , animated : false , scrollPosition : UITableViewScrollPosition . None ) self . tableView ( self . tableView , didSelectRowAtIndexPath : indexPath ) func tableView ( tableView : UITableView !, didSelectRowAtIndexPath indexPath : NSIndexPath !) { NSLog ( "You selected cell number: \(indexPath.row)!" ) self . performSegueWithIdentifier ( "yourIdentifier" , sender : self ) } override func tableView ( tableView : UITableView , didSelectRowAtIndexPath indexPath : NSIndexPath ) { let indexPath = tableView . indexPathForSelectedRow () let currentCell = tableView . cellForRowAtIndexPath ( indexPath ) as UITableViewCell println ( currentCell . textLabel !. text ) override func viewDidLoad () { s...