Thank you. I've done MVVM in C# and was looking for how to do swift MVVM. Yours was the first to: - talk about how to do binding in Swift - point out that VIew = View and ViewController - point out that Model = data and business logic Made my day. thanks again!
@g00dvibes47
5 жыл бұрын
Bill Scanlon Imagine making a framework like PRISM for Swift
@DVdroid
5 жыл бұрын
One of the best MVVM tutorials I have seen so far...👍🏽
@tubehelpr
6 жыл бұрын
This makes so much sense. It's surprisingly difficult to find tutorials and lessons surrounding this stuff. Why is that? I wish I could see some more examples in practice to really get a good understanding of this design pattern and its use with swift. Any suggestions?
@johntomsa777
6 жыл бұрын
You can find bunch of tutorials on MVVM. Cocoacasts has some, Pluralsight or Udemy. Even KZitem has tutorials. There might be little information on MVVM Swift, but there is a lot of tutorials on MVVM in general, fundamentals. So, just learn the fundamentals and apply it in Swift
@Cdswjp
5 жыл бұрын
He doesn’t do enough explaining of why he does every little thing he’s doing imo
@Cdswjp
5 жыл бұрын
about67turtles he’s cool though. He’s pretty good
@dmitriyobidin6049
5 жыл бұрын
Cause everybody doing thos mvc/mvp/mvvm differently. Try to google mvc design images on google, even such a simple concept have different implementation.
@leontea7070
5 жыл бұрын
Since when Jesse Pinkman started to teaching people how to code instead of how to cook?
@vladislavsimovic899
5 жыл бұрын
Nice, there are not many examples of MVVM, that don't include adding some reactive framework
@manasemichaelmhando8034
5 жыл бұрын
It makes all sense following up how other programmers use the MVVM design pattern. But in reality, it doesn't cover most of the problems we face and if you ain't sure on how to use it you might end up with unnecessary boilerplate code that solves a minor issue.
@tomblah
2 жыл бұрын
20:30 at last someone asks this question! I'm 24 hours into learning MVVM from an MVP background, and I can't see any differences...yet (except for terminology).
@christophebugnon5155
6 жыл бұрын
For those who wanted to download the project, I put the link here! ;) github.com/ragotrebor/mvvm-RWDevCon
@robertogarciamercado1623
6 жыл бұрын
github.com/ragotrebor/mvvm-RWDevCon here you can find the project files
@Cdswjp
5 жыл бұрын
Why is delegation a better approach than box/bind for table views?
@StianF
6 жыл бұрын
This boxing method is incredible! So much easier than any other reactive framework I've used. However, I've reworked the Box class to have `listeners:[Listener?]` rather than `listener:Listener?`, to be able to observe the value from multiple places - and it's working! But now I'm struggling with removing the listeners, because - even though I want the ability to have multiple observers, I still need a way to remove a specific observer (not all at once). I need the `bind()`-function to return a `Disposable` object which I later can use to remove that specific binding (e.g in a reusable cell). How can I do this?
@h86991868
6 жыл бұрын
Stian Flatby May I ask you how to do that? I want to observe the same property from multiple places. I don’t understand about this listener:[Listener?] value’s didSet and bind func how to replace and make it’s work? Please help me ,thanks a lot
@StianF
6 жыл бұрын
Sure! Instead of "var listener:Listener?" change it to "var listeners:[Listener?]", and in the "didSet" change from "listener?(value)" to "listeners.foreach({$0?(value)})", and in "bind", change from "self.listener = listener; listener?(value)" to "self.listeners.append(listener); listener?(value)". But be careful, since you now store all listeners and never remove them - the listeners will stay alive as long as the observed object is alive. For tableViewCells, which gets reused, this is really really bad, so you need a way to remove the listeners when you don't want them anymore (e.g if the view you're listening from is removed or reused). That's what I needed help with, but I asked on stackOverflow and got an answer. You should take a look! stackoverflow.com/a/50136414/1203228
@Ceejaeespeaking
6 жыл бұрын
Have you tried adding an identifier to your Listener object? That way you can remove a specific one.
@h86991868
6 жыл бұрын
Thank you for your teaching, it helped me a lot.
@SerJG
2 жыл бұрын
What about using Dictionary instead of array, where key is your class object that creates listener and just create function to unbind listener for specific owner object passing
@Zeng.Lawrence
7 жыл бұрын
Great tutorial! Thanks.
@blackwalkergaming6386
2 жыл бұрын
This guy gives me vibe of Jessy Pinkman from Breaking Bad. This video had best explaination about MVVM architecture and difference between weak and unowned was precisely correct
@subinrevi2268
6 жыл бұрын
Great tutorial !
@Cdswjp
4 жыл бұрын
what cases doesn't mvvm cover?
@TheAhmadReza
5 жыл бұрын
I can't belive I watched a 57 minute tutorial.
@KodecoDev
5 жыл бұрын
Did you like it?
@TheAhmadReza
5 жыл бұрын
Yes, sure, thanks!@@KodecoDev
@bsnishanth8096
5 жыл бұрын
Same here! Amazing talk, this has been the best explanation I've come across surrounding this topic. Yayyy!
@mosesayankoya5865
5 жыл бұрын
awesome!!!
@majdaldeynezalregal1862
2 жыл бұрын
boxing is not two-way binding!!!!!
@trodomir
5 жыл бұрын
Great talk. I find it amazing that Nicholas Cage was there asking a question at 49:56
@30guarino
5 жыл бұрын
Erick Christgau Lol Yup
@LittleGirlJane21
6 жыл бұрын
can I download this project from somewhere?
@AlouaneMohamed
6 жыл бұрын
did you able to find it?
@christophebugnon5155
6 жыл бұрын
github.com/ragotrebor/mvvm-RWDevCon
@christophebugnon5155
6 жыл бұрын
github.com/ragotrebor/mvvm-RWDevCon
@RomanMedvid
5 жыл бұрын
@@christophebugnon5155 thank you, kind man
@bmackey
6 жыл бұрын
top stuff
@parveenakter5459
5 жыл бұрын
Nice tutorial..But how can i download this demo project?
@KodecoDev
5 жыл бұрын
I'm not sure we still host it on the site. I'll dig around and see if I can find it.
@albertmontserratgambus
7 жыл бұрын
Is there some place to find the code? Great tutorial! :)
@MadTiw
6 жыл бұрын
Nice tut my friend...:) I am still new to Swift world and my question my sound a bit naive but can you help me understand once the login is successful how it is taking us to a new viewcontroller as i hvn't found any piece of code assigned to loginSuccess closure type variable
@janoskukoda4701
4 жыл бұрын
Why do you put getters and setters into extension and not directly into class?
@bennychewDev
6 жыл бұрын
Awesome stuff. It's a little too advanced for me at the moment, but I'm picking things up here and there. This 'boxing' stuff seems incredibly powerful and you don't even need a framework.
@takasurazeem
2 жыл бұрын
Almost 2022 and still the best MVVM implementation video.
@mariiasaveleva6724
5 жыл бұрын
Great presentation! Although I expected a little more examples of setting up the architecture (screen presentation, binding controllers with viewModels and so on), I still learned a lot of useful technics from it.
@timelapse7454
6 жыл бұрын
The way you used binding to bind view model's access code with label, should we also use binding to bind model's properties with view model properties right ? I mean how a model is going to notify view model that it has changed ?
@leontea7070
5 жыл бұрын
Is there a general principle that tell you which part of your code should be put into the ViewModel?
@AsankaGankewala
3 жыл бұрын
One of the best MVVM tutorial. Thanks 👍
@neuro5813
3 жыл бұрын
He is replicode no ?
@jesteena2584
7 жыл бұрын
is there similar video in objective-c
@BigCarso
3 жыл бұрын
But all your logic isn't quite in the viewmodel yet :D. It still decides whether to display an error message, or login. You could move that to the vm too.
@DimaJP
4 жыл бұрын
Thanks for this video
@nununugraha3265
3 жыл бұрын
can i see source code of LoginService?
@ytdevs
3 жыл бұрын
Awesome, thank you 🙏
@thesharminkhan
4 жыл бұрын
This is one of the best videos ever. The explanation is very simple and yet in depth :)
@tiojoe_
3 жыл бұрын
the best mvvm tutorial i have ever seen
@w0mblemania
6 жыл бұрын
Very good tutorial, thanks.
@Seb16291629
6 жыл бұрын
Great Tuto, is there a way to get a copy of the unit test ?
@BrunoSilva-qt9nv
3 жыл бұрын
❤️🇧🇷
@mohanrajcool
6 жыл бұрын
Awesome tutorial..can u please tell where can I download the starter and finished project..
@christophebugnon5155
6 жыл бұрын
github.com/ragotrebor/mvvm-RWDevCon
@blazefrostrider
5 жыл бұрын
Excellent Talk !
@bernardonigbinde
4 жыл бұрын
48:49 unowned vs. weak
@liuhan3936
7 жыл бұрын
Very useful~
@shashifav6634
4 жыл бұрын
Data Binding 26:15
@jeevank8550
4 жыл бұрын
Yeah!.. that's my Key take away from this video.
@lulaputta
6 жыл бұрын
Good one, but he was toooo fast.
@crothert
6 жыл бұрын
then slow down the playback to .5x speed ??????????????????????????????????
Пікірлер: 73