Created
January 19, 2015 21:22
-
-
Save twocathouse/b1124ae5ae8727eda525 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
class ViewController: UIViewController, UITableViewDataSource { | |
let jobTableIdentifier = "JobTableIdentifier" | |
@IBOutlet weak var tableView: UITableView! | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
tableView.registerNib(NowJobCell.loadNib(), forCellReuseIdentifier: jobTableIdentifier) | |
// The above line triggers a compile time error saying `'NowJobCell.Type' does not have a member named 'loadNib'` | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment