ios - use segue from different tableViewCell at a tableView push to different viewController Can be implementation at storyboard -


i have question using segue different tableviewcell @ same tableview push different viewcontroller storyboard can implementation? e.g. clicked first cell push first view controller, selected second cell push second view controller, , whole process uses storyboard segue. can have tell me whether come true?

yaa can use have put logic in prepareforsegue method not best way should use uitableviewdelegate method override func tableview(_ tableview: uitableview, didselectrowat indexpath: indexpath) give indexpath , can instantiate viewcontroller want.


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -