Implements tableviewcontroller with swift.