How To Use Transient In SwiftData | SwiftData Tutorial | #13
Вставка
- Опубліковано 3 лип 2024
- How To Use Transient In SwiftData
**********************************
Timestamps:
00:00 - Intro
00:28 - What are Transient Properties
00:49 - Using the @Transient Macro
03:30 - Using Computed Properties
**********************************
⏭️ Next Video: SwiftData Structs & Enum - • How To Save A Struct I...
⏮️ Previous Video: SwiftData Background Tasks - • SwiftData Background T...
FREE SwiftData Course: • SwiftData Todo List Ap...
Download Core Data Labs 👉🏾 apps.apple.com/app/apple-stor...
In this SwiftData tutorial, we're going to look at how we prevent saving properties to SwiftData by using the @Transient macro. We'll look at how to use Transient in SwiftData and also discuss when you want to use it as well as a few tips and trips.
**********************************
Check Out My Courses 👨🏽🏫
Enjoy my teaching style? Check out my other courses on my website that may interest you, they range from beginner to advanced topics within iOS development.
Link to Website
tunds.dev/#courses
**********************************
Join the crew 🤝
Want to help support the channel? Become a member with the join link below and get access to exclusive badges and stickers, as well as other perks that are coming soon.
Become a channel member
www.youtube.com/@tundsdev/join
Support in other ways 💕
You can support me for free and help the channel grow so that I can continue to make the best iOS development content for you by liking, commenting, subscribing, and hitting the notification bell.
All of this really helps my channel grow and allows me to keep on making content for you. If you’re interested in subscribing to the channel then you can do so with the link below.
Subscribe to the tundsdev UA-cam channel
ua-cam.com/users/tundsdev?su...
**********************************
Download Source Code
Interested in looking at the source code? Then check out the GitHub Repo below
[GITHUB REPO HERE]
**********************************
EditorKeys
View Editor Keys Amazing Products with the link below and use the discount code for 10% off any product
www.editorskeys.com/tundsdev
Get a 10% Discount Code on any product with the code below
TUNDSDEV
See my keyboard cover in action with my review below 👇🏾
• Increase Your Xcode Pr...
**********************************
RØDE Wireless Mic
amzn.to/3D5qo3V
RØDE SmartLavPlus Microphone
amzn.to/3DtVUdG
2021 Apple MacBook Pro (16-inch, Apple M1 Pro chip with 10‑core CPU and 16‑core GPU, 16GB RAM, 1TB SSD) - Space Grey
amzn.to/3Drc2fH
Apple Magic Keyboard with Numeric Keypad (Wireless, Rechargeable)
amzn.to/3VUctXh
Apple Magic Mouse
amzn.to/3sqXSoM
Secretlab TITAN 2020 Charcoal Blue Gaming Chair
amzn.to/3D2jVXI
ErgoFoam Ergonomic Foot Rest for Under Desk
amzn.to/3srJOLM
Lumbar Support Pillow
amzn.to/3eXVfrg
Macbook Stand for Apple Macbook and All Notebooks
amzn.to/3DqG7vR
Portable Chair Green Screen Background
amzn.to/3gG62GU
**********************************
#iosdev #iosdevelopment #swift #swiftlanguage #xcode #appdevelopment #mobileappdevelopment #iosappdevelopment #appdeveloper #iosprogramming #iosengineer #appdevelopmenttips #iosdevelopmenttips #swiftui
Very informative 👍
Glad you enjoyed it 👌🏾
Thanks!
So you didn't make the computed property Transient.
Why not?
No worries, like I say in the vid if you use a computed property there’s no need to mark it 👌🏾