ViewController does not confirm to protocol 'UITableViewDataSource'
问题 This question was asked multiple times. http://stackoverflow.com/questions/25581780/type-viewcontroller-does-not-confirm-to-protocol-uitableviewdatasource and I did tried the solutions provided over there but still I am not able to get away with this error. Code to UITableView is below import UIKit class ViewController: UIViewController, UITableViewDataSource, UITableViewDelegate { @IBOutlet var tableView: UITableView! var data: [String] = ["one","two","three","four"] override func