I am a rookie so appreciate any help. I am following this tutorial and stuck on this part of the code and not sure what to do. Any assistance would be great.
“Now that you have an array full of Player objects, you can continue hooking up the data source in PlayersViewCon- troller. Still in PlayersViewController.swift, replace the table view data source methods with the following:”
error: method does not override any method in superclass.
override func numberOfSectionsInTableView(tableView: UITableView) → Int {
return 1 }
override func tableView(tableView: UITableView, numberOfRowsInSection section: Int) → Int {
return players.count
}
https://www.raywenderlich.com/113388/storyboards-tutorial-in-ios-9-part-1