NEW: Master Swift design patterns with my latest book! >>

< Previous: iPad multitasking   Next: Project 32 >

Wrap up

With UIStackView in place that's another UIKit component under your belt – good job! The addition of multitasking and size classes helps make the app much more polished, and I think you have the seeds of a great app here.

If you want to try extending this project, the sensible place to start is in the URL entry: if users don't type "http://" before their web site addresses the app fails, which isn't very helpful.

Another smart place to improve the app is inside the setDefaultTitle() method: it just writes Multibrowser in the navigation bar while leaving a large white space in the center – hardly intuitive, and it wouldn't be hard to add a placeholder label in there telling users what to do.

You did it! Now what?

You finished another project, and I'm glad Hacking with Swift helped you. Now I need your help. Please take just a moment out of your day to tell others about Hacking with Swift so they can benefit too.

You can click below to post a tweet straight to this project. Or if you're feeling particularly generous, you can click here to link to Hacking with Swift on your website and help spread the word.

Thank you. Your support is what keeps me going!

 

About the author

Paul Hudson is the creator of Hacking with Swift, the most comprehensive series of Swift books in the world. He's also the editor of Swift Developer News, the maintainer of the Swift Knowledge Base, and Mario Kart world champion. OK, so that last part isn't true. If you're curious you can learn more here.

Go from iOS to macOS the easy way!

If you like Hacking with Swift, you'll love Hacking with macOS – learn to build macOS apps today, using 18 real-world projects!

< Previous: iPad multitasking   Next: Project 32 >
Click here to visit the Hacking with Swift store >>