0 Replies
      Latest reply: Aug 11, 2017 7:57 AM by Igor Prots RSS
      Igor Prots Level 1 Level 1 (0 points)

        Hello!

        Sorry for typing here, but i don't know where else. Maybe moderators will see this.

         

        I'm learning hot to make iOS Apps, and found small, very little mistake in Apple Guide.

         

        In Start Developing iOS Apps (Swift) in part Working in Table Views

         

        on this position "After loading the images, create three meal objects."

         

        there is

         

        1. guard let meal1 = Meal(name: "Caprese Salad", photo: photo1, rating: 4) else {
        2.   fatalError("Unable to instantiate meal1")
        3. }
        4. guard let meal2 = Meal(name: "Chicken and Potatoes", photo: photo2, rating: 5) else {
        5.   fatalError("Unable to instantiate meal2")
        6. }
        7. guard let meal3 = Meal(name: "Pasta with Meatballs", photo: photo3, rating: 3) else {
        8.   fatalError("Unable to instantiate meal2")
        9. }

        but it's need to be

        1. guard let meal3 = Meal(name: "Pasta with Meatballs", photo: photo3, rating: 3) else {
        2.   fatalError("Unable to instantiate meal3")
        3. }

         

        Sorry for my English, it's not very good.

         

        Have a nice day.