Trouble with simple TableView in Swift, error SIGNAL SIGART
<p>I have problem with populating a simple tableView:
It throws an exception when viewDidLoad is triggered. What am i doing wrong here?</p>

<p>this is the error:</p>

<pre><code>Assertion failure in -[UITableView dequeueReusableCellWithIdentifier:forIndexPath:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UI‌​Kit-3512.60.7/UITabl‌​eView.m:6573 2016-09-08 17:45:52.603 petSyncApp
[967:137236] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'unable to dequeue a cell with identifier customcell - must register a nib or a class for the identifier or connect a prototype cell in a storyboard'
</code></pre>

<p>here's my code in ProfileViewController (which is datasource to the tableview)</p>

<pre><code>import UIKit

class ProfileViewController: UIViewController, UITableViewDataSource {
    @IBOutlet weak var myTableView: UITableView!

    override func viewDidLoad() {
        super.viewDidLoad()

        myTableView.reloadData()
            // Do any additional setup after loading the view.
    }

    func numberOfSectionsInTableView(tableView: UITableView) -&gt; Int {
        return 1
    }

    func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {
        return 1
    }

    func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -&gt; UITableViewCell {

        let cell = tableView.dequeueReusableCellWithIdentifier("customcell", forIndexPath: indexPath)
        cell.textLabel?.text = "Add pet"
        return cell
    }

}
</code></pre>

<p>and here are the connections :</p>

<p><a href="http://i.stack.imgur.com/oHkmn.png" rel="nofollow">tableview data source</a></p>

<p><a href="http://i.stack.imgur.com/RJ4P6.png" rel="nofollow">view controller connections</a></p>