1 Reply
      Latest reply on Aug 9, 2019 11:05 PM by John368
      2019code Level 1 Level 1 (0 points)

        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.