Simple SwiftUI MVVM and Combine

Поділитися
Вставка
  • Опубліковано 4 лис 2024

КОМЕНТАРІ • 44

  • @ChristopherCricketWallace
    @ChristopherCricketWallace 3 роки тому +8

    Great explanation. please do more! Core Data, Animations in Swift UI, Unit testing, etc

  • @GabrielTargon
    @GabrielTargon Рік тому

    Thank you for the simpler explanation that I ever seen. Good sob!!!

  • @johnnyhacking1460
    @johnnyhacking1460 3 роки тому +4

    Love how simple of an example yet drove home some great fundamental concepts, please more videos!

  • @supereze
    @supereze 2 роки тому +2

    1:31 “There’s no direct way to say ‘[…] change this text element when another thing changes’”
    Except for changing line 18 from `Text("Hello, world!")` to `Text(myText.isEmpty ? "❌" : "✅")` which looks pretty direct to me ;)

  • @ekadam
    @ekadam 2 роки тому

    Wow, I was having such difficulty understanding combine with other teachers. This video was the only one which made me understand the basic concept!. Thank you os much.

  • @abhilashrajagopal9455
    @abhilashrajagopal9455 2 роки тому

    Simple Example with Good presentation and explaination

  • @devtoolls
    @devtoolls 2 роки тому

    I was looking for that to understand de basic principle of combine , with ViewModel thanks a lot, great job

  • @alinetomasian6980
    @alinetomasian6980 2 роки тому

    Thank you for the beautiful comprehensive example. Will follow more videos from you! Thanks

  • @Bks715
    @Bks715 3 роки тому +1

    Amazing. Already my new favorite iOS tutorial channel.

  • @francisyuweh706
    @francisyuweh706 2 роки тому

    thank u for that simple but effective example. very helpful indeed

  • @ArchAid1
    @ArchAid1 3 роки тому

    Thank you 🙇🏻‍♂️ More Combine and MVVM please 🙏🙏🙏🙏🙏

  • @KimbrellBrad
    @KimbrellBrad 3 роки тому

    Thanks Paul! Great to see a new channel starting up. New subscriber here. And good luck!

  • @paulzx
    @paulzx 3 роки тому +1

    Wow, opened new coding ideas for me! Thanks. I like view data (or logic) separation!

  • @kglaybkk
    @kglaybkk 10 місяців тому

    May I know about the font you are using? It looks pretty cool.

  • @SillyTradez
    @SillyTradez Рік тому

    Great presentation!

  • @mswlogo1
    @mswlogo1 3 роки тому

    Love it. Programmers love simple examples. Sort of the "Hello World" of Combine :). Nice job.

  • @goodguygaming
    @goodguygaming 3 роки тому

    The SwiftUI updates that came out with iOS 14 (mainly @StateObject) made this so much easier than what you had to do in iOS 13. Before I was having to create an @ObservableObject outside the view and pass it in as a binding and it was a pain.

  • @xinth23
    @xinth23 3 роки тому

    Nice! You have a new subscriber. Also, the quality of your video is amazing.

  • @kibriabhai1457
    @kibriabhai1457 3 роки тому

    If init() is called once during object instantiation, how is the code inside it still working when I clear myText and add more text in it multiple times? Great video, simple code, fits one screen. This makes it easy to analyze what is happening. Thank you very much.

    • @danielwatson6529
      @danielwatson6529 3 роки тому

      whats your Q? i don’t understand what you need to know

  • @berkantdursun5572
    @berkantdursun5572 3 роки тому

    Thanks for this tutorial, explained in a simple and understandable way.

  • @saadiwilliams9020
    @saadiwilliams9020 2 роки тому

    Hi, and thanks for this video. I have a question, why need us to import Combine here ? I tried without that, and it work like with...

  • @jimmason4723
    @jimmason4723 3 роки тому

    Really nice, great explanation, can I ask what Xcode Theme you are using, looks really good.

  • @ryanwesley2006
    @ryanwesley2006 3 роки тому

    great simplified explination.. would love to see a more indepth simplified explianation of Combine.

  • @rahuljamba5846
    @rahuljamba5846 Рік тому

    Great example man thanks for sharing your kowldg !!!

  • @Ivoshevo
    @Ivoshevo 2 роки тому

    Nice Explanation: But can you please do a video on how to do an HTTP post request using SwiftUI with Combine?

  • @ubaidillahahmad25
    @ubaidillahahmad25 3 роки тому +1

    i know we came here because the combine keyword, but it's also easy to do something like that without combine
    @Published var myMessage: String = ""
    @Published var myText: String = ""
    {
    didSet{
    myMessage = {
    myText.isEmpty ? "❌" : "✅"
    }()
    }
    }

  • @szymontamborski1795
    @szymontamborski1795 3 роки тому

    Great example!

  • @natgenesis5038
    @natgenesis5038 2 роки тому

    Great video thanks so much

  • @chowphun6952
    @chowphun6952 3 роки тому

    nice vid!! what font is that?!

  • @abdurakhmonjamoliddinov-gb1yj

    simplest example illustrating testing

  • @2000mipo
    @2000mipo 3 роки тому

    Lovely thanks!

  • @dewigesrek5651
    @dewigesrek5651 3 роки тому

    this really helps alot

  • @dmitriypyshenko9591
    @dmitriypyshenko9591 3 роки тому

    EXCELLENT!

  • @samuelpatrickhenness
    @samuelpatrickhenness 3 роки тому

    very nice. thank you.

  • @hajjdawood
    @hajjdawood 2 роки тому

    Why wouldn't an .onChange be a simple and straightforward way of checking if there is text or not. I get that this is a video tutorial to demonstrate Combine but still.

  • @FranciscoHernandez-ij3kd
    @FranciscoHernandez-ij3kd 3 роки тому

    Thank you

  • @davemckee5252
    @davemckee5252 3 роки тому

    Suppose that on line 18, instead of a checkmark, you want to pass the contents of myText to myMessage. How would you do that ?

    • @PaulColton
      @PaulColton  3 роки тому

      If you comment out line 18, it should 'just work', ;-)

    • @davemckee5252
      @davemckee5252 3 роки тому

      @@PaulColton it sort of works. if you type a character - A, nothing appears, with next character typed - B, then you see A, if you type yet another character - P, then you see AB, its always mirrors the characters typed but 1 character less than the current character just typed.

  • @santosh840able
    @santosh840able 2 роки тому

    Great

  • @phlu6495
    @phlu6495 3 роки тому

    what about the model...

  • @jiankian
    @jiankian 3 роки тому

    教程不错,就是粉丝少,加油,关注你了

  • @kanghanj
    @kanghanj 3 роки тому

    Subs