I am working on the guided project in Chapter 4 of App Developement with Swift. I have entered the following code from the tutorial:
override func viewDidLoad() {
super.viewDidLoad()
if let savedToDos = ToDo.loadToDos() {
todos = savedToDos
} else {
todo = ToDo.loadSampleToDos()
}
}
I get a Type 'ToDo' has no member 'loadToDos' and a Type 'ToDo' has no member 'loadSampleToDos' error and have searched for an answer but have found nothing that seems to apply. Could someone direct me to where I should look or suggest a solution? Thanks in advance.