FREE TRIAL: Accelerate your app development career with Hacking with Swift+! >>

DAY 53

Project 11, part 1

Today we’re starting another new project, and this is where things really start to get serious because you’ll be learning one important new Swift skill, one important new SwiftUI skill, and one important app development skill, all of which will come in useful as build the project.

The app development skill you’ll be learning is one of Apple’s frameworks: Core Data. It’s responsible for managing objects in a database, including reading, writing, filtering, sorting, and more, and it’s hugely important in all app development for iOS, macOS, and beyond.

Canadian software developer Rob Pike – creator of the Go programming language, member of the team that developed Unix, co-creator of UTF-8, and also published author – wrote this about data:

“Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms, are central to programming.”

This is often shortened to “write stupid code that uses smart objects,” and as you’ll see objects don’t get much smarter than when they are backed by Core Data!

Today you have four topics to work through, in which you’ll learn about @Binding, type erasure, Core Data, and more.

Need help? Tweet me @twostraws!


Hacking with Swift is sponsored by Essential Developer

SPONSORED Join a FREE crash course for iOS devs who want to become complete senior developers — from October 18th to 24th. Learn how to apply iOS app architecture patterns through a series of lectures and practical coding sessions.

Learn more

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

100 Days of SwiftUI

The 100 Days of SwiftUI is a free collection of videos, tutorials, tests, and more to help you learn SwiftUI faster. Click here to learn more, or watch the video below.

Back to 100 Days of SwiftUI

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.