Follow along at https://www.hackingwithswift.com/100/35.
This day covers the third and final part of Project 7: Whitehouse Petitions
in Hacking with Swift.
You can find the entire project I made to follow along in the folder of Day 33, but Day 35, in particular, focuses extending the project according a set of challenges.
Add a Credits button to the top-right corner using UIBarButtonItem. When this is tapped, show an alert telling users the data comes from the We The People API of the Whitehouse.
- 🔗 Commit
Let users filter the petitions they see. This involves creating a second array of filtered items that contains only petitions matching a string the user entered. Use a UIAlertController with a text field to let them enter that string.
- 🔗 Commit
Experiment with the HTML
- 🔗 Commit