iOS 13 Swift Tutorial: Understand Swift UI, Property Wrapper & More (@State & @EnvironmentObject)

preview_player
Показать описание
Get a better understanding of how Swift UI works, what lies behind @State and @EnvironmentObject and how you work with data in and across different views. Bonus: See how to display an Alert View

🛒 GAME DEVELOPMENT COURSE - JUST $20 🛒

✉️ COMMENTS ✉️
If you have questions about the video or Cocoa programming, please comment below.
Рекомендации по теме
Комментарии
Автор

Dude, this tutorial it's a treasure !

jorgesegundorojas
Автор

Just for information:

BindableObject is changed to ObservableObject.
ObjectBinding is now ObservedObject.

daLuftie
Автор

so, now in iOS we have "native Rx" and "native flutter". Nice tutorial, thank you! =)

glebcherkashyn
Автор

Mind blown around 22:00 🤯🤯

thank you for great example

mattmmilli
Автор

Wow! That was a lot of information! Thanks for the great tutorial!!

dimiutube
Автор

Niiiice, these tutorials are great. They are binding (wink, wink) all of the frameworks together, the SwiftUI, combine etc

krutomjer
Автор

Great. Thank you, Brian. Can you also please make videos to explain another Swift feature that backed the SwiftUI implementation? Like for example: Function builder, Opaque return type

KhairilUshan
Автор

This is great Brian. Can you share how you can use the environment object in multiple views. On a presentation view I’m not getting access to the environment object.

thomasengland
Автор

has anyone got a link for the swift evolution proposal? i had a look but im not really sure what is it is that i am looking fior

Rggg-lemon
Автор

Another amazing tutorial. Thank you so much🙏

amit
Автор

I have got this problem: Property wrapper type 'UserDefault' does not contain a non-static property named 'wrappedValue'. I have got the latest version of Xcode 11 beta 7. Could you please say we how to fix it?

АлексейПархоменко-хы
Автор

@propertyWrapper
struct UserDefault<T> {
    let key: String
    let defaultValue:T
    var value:T {
        get{
            return key) as? T ?? defaultValue
        }
        set{
            UserDefaults.standard.set(newValue, forKey: key)
        }
    }

}

gives error: Property wrapper type 'UserDefault' does not contain a non-static property named 'wrappedValue'

myevit
Автор

How to count the number of rows after filtered by favorite?

kerk
Автор

Who else think they making Swift more difficult with every update. Swift 3 was comfortable for me but this getting harder and harder.

lukassbeataddicts
Автор

nope. That didn't make any sense.

DavidNitzscheBell
welcome to shbcf.ru