WWDC23 SALE: Save 50% on all my Swift books and bundles! >>

Setting up

I hope you're all set for a massive project, because this one is going to cram a lot in. In this project, you're going to make an app for this tutorial series, Hacking with Swift – very meta, I know. The app is going to list all the projects and let users choose which ones they favorite, which by itself sounds like the kind of thing we might have done in project 7 or so.

So how come it's way back here as project 32? Simple: when users favorite a project, we're going to store that in Core Spotlight so they can find it later. And when they view a project, we'll use the SFSafariViewController class for them to read, which lets you embed Safari right inside your app. If those two new features weren't enough for you, I'm going to throw in a little bit of UITableViewCell automatic sizing, a little bit of Dynamic Type and even some attributed strings to handle formatted string drawing.

Are you feeling it now? I hope so. Please go ahead and create a new project in Xcode, choosing the Single View App template. Name it Project32, then choose Swift for your language.

Save 50% in my WWDC23 sale.

SAVE 50% To celebrate WWDC23, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

BUY OUR BOOKS
Buy Pro Swift Buy Pro SwiftUI Buy Swift Design Patterns Buy Testing Swift Buy Hacking with iOS Buy Swift Coding Challenges Buy Swift on Sundays Volume One Buy Server-Side Swift Buy Advanced iOS Volume One Buy Advanced iOS Volume Two Buy Advanced iOS Volume Three Buy Hacking with watchOS Buy Hacking with tvOS Buy Hacking with macOS Buy Dive Into SpriteKit Buy Swift in Sixty Seconds Buy Objective-C for Swift Developers Buy Beyond Code

Was this page useful? Let us know!

Average rating: 5.0/5

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.