How can I display the whole text in a cell (Swift)?
<p>Here's the file I'm using for the table view controller. When I run the project the cell shows the text that's written in "names" but it won't show all of it. </p>

<p>I want it to show the whole text in the same cell. That the cell is sized according to what's written in it. </p>

<p>How do I fix this?   </p>

<pre><code>import Foundation
import UIKit

class FTBViewController: UITableViewController {

var names = [String]()
var identities = [String]()

override func viewDidLoad() {

    names = ["This is the text the cell is displaying but it won't show it all"]
    identities = ["A"]

    self.navigationItem.title = "Guía"
    self.navigationController?.navigationBar.titleTextAttributes = [NSForegroundColorAttributeName: UIColor.whiteColor()]



}

override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) -&gt; Int {

    return names.count

}

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

    let cell = tableView.dequeueReusableCellWithIdentifier("FCell")

    cell?.textLabel!.text = names[indexPath.row]

    return cell!

}

override func tableView(tableView: UITableView, didSelectRowAtIndexPath indexPath: NSIndexPath) {
    let vcName = identities[indexPath.row]
    let viewController = storyboard?.instantiateViewControllerWithIdentifier(vcName)
    self.navigationController?.pushViewController(viewController!, animated: true)
}
}
</code></pre>