Core Data: Beyond the Basics

Jul 26 2022 Swift 5.5, iOS 15, Xcode 13.3.1

Part 1: Fetching & Displaying Launches

11. Transient Properties

Lesson Complete

Play Next Lesson
Save for later
About this episode

See forum comments
Cinema mode Mark as Complete Download course materials
Previous episode: 10. Challenge - Displaying Tags Next episode: 12. Conclusion

This video was last updated on Jul 26 2022

Heads up... You've reached locked video content where the transcript will be shown as obfuscated text.

You can unlock the rest of this video course, and our entire catalogue of books and videos, with a Professional subscription.

Good job on those challenges! You’ve implemented quite a few challenging features so let’s end this part of the course on an easier note. There’s one little thing I’d like to add to the app, and that is to display how many RocketLaunches are associated with each tag.

@objc var launchCount: Int {}
willAccessValue(forKey: "launches")
let count = launches.count
didAccessValue(forKey: "launches")
return count
Text("\(tag.title) (\(tag.launchCount))")