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

What you learned

These last three projects have really pushed hard on data, starting first with sending and receiving data using the internet, then going into Core Data so you can see how real apps manage their data. The skills you’ve learned in this projects are perhaps more important you realize, because if you put them all together you can now fetch data from the internet, store it locally, and let users filter to find the stuff they care about.

Here’s a quick recap of all the new things we covered in the last three projects:

  • Building custom Codable conformance
  • Sending and receiving data using URLSession
  • The disabled() modifier for views
  • Building custom UI components using @Bindable
  • Using AnyView for type erasure
  • Adding multiple buttons to an alert
  • How Swift’s Hashable protocol is used in SwiftUI
  • Using the @FetchRequest property wrapper to query Core Data
  • Sorting Core Data results using NSSortDescriptor
  • Creating custom NSManagedObject subclasses
  • Filtering data using NSPredicate
  • Creating relationships between Core Data entities

That’s a comparatively short list compared to some other projects, but I think it’s fair to say these topics have been a real step up: Core Data is hard in places, particularly how we need to bridge things like NSSet so they play nicely in the bright and airy future of SwiftUI.

Hacking with Swift is sponsored by RevenueCat

SPONSORED Building in-app subscriptions are hard. RevenueCat makes it simple. With their open source SDKs, you can painlessly implement subscriptions for your app in hours, not months.

Explore the docs to learn more

Sponsor Hacking with Swift and reach the world's largest Swift community!

Snapthread is a casual video editor and slideshow maker that makes discovering, compiling and sharing your favorite memories effortless.

BUY OUR BOOKS
Buy Pro Swift 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 (Vapor Edition) 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 Server-Side Swift (Kitura Edition) Buy Beyond Code

Was this page useful? Let us know!

Average rating: 3.0/5