Skip to content

Latest commit

 

History

History
 
 

day-026

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Day 26: Project 4, Part Three

Follow along at https://www.hackingwithswift.com/100/26.

📒 Field Notes

This day covers the final part of Project 4, Easy Browser in Hacking with Swift.

I have a separate repository where I've been creating projects alongside the material in the book. However, I've also been tweaking the project further while going through the 100 Day challenge, and you can find that version of it in this directory.

With that in mind, the main focus of this day was extending the finished app according to a set of challenges.

🥅 Challenges

Challenge 1

If users try to visit a URL that isn’t allowed, show an alert saying it’s blocked.

Challenge 2

Try making two new toolbar items with the titles Back and Forward. You should make them use webView.goBack and webView.goForward.

Challenge 3

For more of a challenge, try changing the initial view controller to a table view like in project 1, where users can choose their website from a list rather than just having the first in the array loaded up front.

Table view screenshot