About Taasky like slidebar

I am new to ios.
I don’t know how to make a view controller to display when i press a cell in tableview.
how to switch between viewcontrollers when i pressed cells in tableview(taasky like tableview)
In this example it changes the bg and imageview.
I don’t know how to link to a view controller.
Please help me in getting success.