Migrating To The Observation Framework In SwiftUI | Part 2

preview_player
Показать описание


In this SwiftUI Observation Framework Tutorial, we're going to take a look at how to update your app to the observation framework. We'll be going over the differences and things to look out for when migrating to the observation framework in swiftui.

Updating your app to use the new observation framework in iOS17 will give you a massive performance boost and also make writing your observable code a lot easier to understand using the new observable macro in swiftui

**********************************

*Timestamps:*

00:00 - Intro
00:50 - Project Breakdown
01:44 - Replacing Observable Object With @Observable
02:54 - Using State instead of StateObject
04:27 - Working With Bindable instead of ObservedObject
06:26 - Passing Data Between Views
08:04 - Mixing Legacy With New
09:28 - Working With Environment instead of EnvironmentObject
12:33 - AppStorage Workaround In The Observation Framework
14:50 - Bindable Environment Objects In The Observation Framework

**********************************

*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*

**********************************

*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*

*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 YouTube channel*

**********************************

EditorKeys
View Editor Keys Amazing Products with the link below and use the discount code for 10% off any product

Get a 10% Discount Code on any product with the code below
TUNDSDEV

See my keyboard cover in action with my review below 👇🏾

**********************************

RØDE Wireless Mic

RØDE SmartLavPlus Microphone

2021 Apple MacBook Pro (16-inch, Apple M1 Pro chip with 10‑core CPU and 16‑core GPU, 16GB RAM, 1TB SSD) - Space Grey

Apple Magic Keyboard with Numeric Keypad (Wireless, Rechargeable) 

Apple Magic Mouse

Secretlab TITAN 2020 Charcoal Blue Gaming Chair

ErgoFoam Ergonomic Foot Rest for Under Desk

Lumbar Support Pillow

Macbook Stand for Apple Macbook and All Notebooks

Portable Chair Green Screen Background

**********************************

#iosdev #iosdevelopment #swift #swiftlanguage #xcode #appdevelopment #mobileappdevelopment #iosappdevelopment #appdeveloper #iosprogramming #iosengineer #appdevelopmenttips #iosdevelopmenttips #swiftui
Рекомендации по теме
Комментарии
Автор

THANK YOU! I learned so much in this video! Analogies help so much when trying to explain sth, especially when made with social media apps that everybody knows.

anna_anna_anna_