The One-Person Business Model (How To Productize Yourself) 👉kzbin.info/www/bejne/m3iZYWafppt6ptk
@0soft Жыл бұрын
Why not make isConnected @Published? What is the reason to do that boilerplate code with objectWillChange?
@rebeloper Жыл бұрын
That will also work. And now with the new @Observable macro it will be much simpler :) 10 Amazing SwiftUI One Liners - SHOULD YOU Use Them? 👇 kzbin.info/www/bejne/gHSkkHp-mdmNrrs&ab_channel=Rebeloper-RebelDeveloper
@backendesign5 ай бұрын
Nice tutorial Sir! Could you please create a video on AsyncImage caching.
@rebeloper3 ай бұрын
Considering it, stay tuned! Have you seen my latest video? 👉 NavigationStack vs. NavigationCoordinator: You Won’t Believe the Difference! kzbin.info/www/bejne/bZfFaHaOqd5on5Y
@vittyfiorentini2382 жыл бұрын
Hello, thanks for your tutorial, I really appreciated it. I would to know, if i have to check if the connection is available ( with the network monitoring) before calling firebase to download data in view did load. Thank you so much. Respect from Italy❤🔥
@rebeloper2 жыл бұрын
You should fetch data only on the ContentView (that is presented only if there's a connection). BTW where are you storing your code? If it's on your local machine than you have to check out what is GitHub 👇 kzbin.info/www/bejne/nKStaoyHiduFh9E
@_mattaeus_ Жыл бұрын
Out of curiosity, any reason you didn’t opt for an @published var instead?
@rebeloper Жыл бұрын
Could you point to a timestamp? Thanks, Also here are the Best Coding Habits to Adopt in 2023 👇 kzbin.info/www/bejne/boCZfmqlpJqlns0
@_mattaeus_ Жыл бұрын
@@rebeloper I am talking about your choice of using a regular var for isConnected and use object will change instead of a published varies you see in 5:39
@rebeloper Жыл бұрын
@Publised will also work. I just like to not give unnecessary powers to my properties. Till than take a look at my lates video about 30 Xcode Keyboard Shortcuts You NEED to Know: kzbin.info/www/bejne/eYjNeXxpq79_ic0
@holycrosscv2 жыл бұрын
Thanks for another great video. I am getting an error: " 'sConnected' is inaccessible due to 'internal' protection level" Any idea? Thanks!
@holycrosscv2 жыл бұрын
Ah ha, marking the class as Public is not enough. the var isConnected must be marked as public as well. Lesson learned.
@rebeloper2 жыл бұрын
"isConnected" has to be declared as public: github.com/rebeloper/NetworkMonitor/blob/main/Sources/NetworkMonitor/NetworkMonitor.swift BTW where are you storing your code? If it's on your local machine than you have to check out what is GitHub 👇 kzbin.info/www/bejne/nKStaoyHiduFh9E
@lincolndickerson12932 жыл бұрын
This is much better than what I used to do. Is it possible to specific information like if it is cell service, wifi network name… or is that still locked down tight?
@rebeloper2 жыл бұрын
Not possible at the moment as far as I can tell. BTW where are you storing your code? If it's on your local machine than you have to check out what is GitHub 👇 kzbin.info/www/bejne/nKStaoyHiduFh9E
@lincolndickerson12932 жыл бұрын
@@rebeloper I have been using GitHub and Bitbucket for well over a decade but thanks for the tip though.
@rebeloper2 жыл бұрын
Nice! Question: Is MVVM Good for SwiftUI? 👇 kzbin.info/www/bejne/gnmwhnyZbM-kldk