Cómo conectar dataSource y delegar con código - iOS Swift

Estoy tratando de comprender mejor cómo se conectan las fuentes dataSource y delegado a UITableView debajo del capó cuando realiza la conexión a través de la interfaz de usuario en Xcode arrastrando y soltando el icono viewController.

encontréeste hilo pero creo que me falta algo porque no puedo hacer que funcione.

Aquí está el código que tengo actualmente que funciona bien conectando las salidas a través de XCode (arrastrando y soltando).

import UIKit

class ViewController: UIViewController, UITableViewDataSource, UITableViewDelegate {

    var hobbies:[String] = ["Computers", "Photography", "Cars", "Reading", "Learning New Things"]


    func numberOfSectionsInTableView(tableView: UITableView) -> Int {
        return 1
    }

    func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        return hobbies.count
    }

    func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {

        let cell = tableView.dequeueReusableCellWithIdentifier("myCell", forIndexPath: indexPath) as UITableViewCell

        cell.textLabel?.text =  hobbies[indexPath.row]

        return cell
    }

    override func viewDidLoad() {
        super.viewDidLoad()
        // Do any additional setup after loading the view, typically from a nib.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

}

Intenté eliminar las conexiones de salida realizadas por XCode, creé una salida para tableView (myTable) y agregó el siguiente código en elviewDidLoad pero no funciona, no hay error, simplemente no carga los datos.

        override func viewDidLoad() {
            super.viewDidLoad()
            // Do any additional setup after loading the view, typically from a nib.

           myTable.delegate = self
           myTable.dataSource = self
        }

¿Alguien puede describir los pasos necesarios para hacer esta conexión con el código?

Respuestas a la pregunta(2)

Su respuesta a la pregunta