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
guard let meal1 = Meal(name: "Caprese Salad", photo: photo1, rating: 4) else {
fatalError("Unable to instantiate meal1")
}
guard let meal2 = Meal(name: "Chicken and Potatoes", photo: photo2, rating: 5) else {
fatalError("Unable to instantiate meal2")
}
guard let meal3 = Meal(name: "Pasta with Meatballs", photo: photo3, rating: 3) else {
fatalError("Unable to instantiate meal2")
}
but it's need to be
guard let meal3 = Meal(name: "Pasta with Meatballs", photo: photo3, rating: 3) else {
fatalError("Unable to instantiate meal3")
}
Sorry for my English, it's not very good.
Have a nice day.