Why does the Landmarks app define the filtered Landmarks array in a view instead of inside the model? . . . . . . . Spamming not allowed(reported)
Answers
Answered by
0
In the Landmarks app, a user can flag their favorite places, and filter the list to show just their favorites. To create this feature, you’ll start by adding a switch to the list so users can focus on just their favorites, and then you’ll add a star-shaped button that a user taps to flag a landmark as a favorite.
Download the starter project and follow along with this tutorial, or open the finished project and
Similar questions