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:
Codable
conformanceURLSession
disabled()
modifier for views@Bindable
AnyView
for type erasureHashable
protocol is used in SwiftUI@FetchRequest
property wrapper to query Core DataNSSortDescriptor
NSManagedObject
subclassesNSPredicate
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.
SPONSORED Emerge helps iOS devs write better, smaller apps by profiling binary size on each pull request and surfacing insights and suggestions. Companies using Emerge have reduced the size of their apps by up to 50% in just the first day. Built by a team with years of experience reducing app size at Airbnb.
Sponsor Hacking with Swift and reach the world's largest Swift community!
Link copied to your pasteboard.