Can you possibly explain the @escaping closures and callback and the reason for this instead of making the function return something? New to iOS development
Hi Cesar, using callback function to return a value is a common approach to achieve asynchronous function in programming. In this case, the function have to be asynchronous as the network API call is not returning the value immediately. @escaping closure is just the Swift way of implementing callback.
Brother for learning iOS development do we need Mac laptop or any other alternatives and if we want to buy apple laptop what OS needs to be purchased bro
Thank you for this wonderful tutorial! One question: so the in the dataFetchable protocol, the function needs to have the exact same name with the one inside ApiCaller right ?
Should 256gb be enough for balancing college work and xcode projects or should i invest in 512gb storage? I am going to be purchasing a macbook air soon and don’t know how much storage xcode takes up. Thanks
It was great video but I have different question. What should we do when we require a data to multiple places? I was thinking dependency injection is related to this but it seems it doesnt so I am little confused.
This was a very nice tutorial. I know it's slightly off topic but how would you handle dependencies of your separated out targets. Let's say you network module depends on alamofire but you do not want you main app to depend on alamofire.
I mean correct me if I'm wrong but once you import 3rd party dependencies to assist with backend network calls wouldn't it now become a global asset to the whole project? Anything having to do with the API would require you importing in alamofire for each file no?
I’ve only been doing iOS development a few weeks, glad to see I’m not alone with Xcode being really flaky. Visual Studio isn’t perfect, but it seems way more stable and consistent.
Out of million tutorials about DI, this one explains it crystal clear and in a very simple way to understand. Thank you so much. Keep it up 👍🏻
Youre welcome!
Enjoy my teaching style? Check out iOS Academy+ at iosacademy.io/plus
I was waiting so hard for this! Thank you so much
You’re welcome
Been waiting for this! Thanks a lot!
Hope you enjoyed it!
@@iOSAcademy hey, Do you have learning path for beginner to advance like this topics(di,reactive programming etc)
Can you possibly explain the @escaping closures and callback and the reason for this instead of making the function return something? New to iOS development
Hi Cesar, using callback function to return a value is a common approach to achieve asynchronous function in programming. In this case, the function have to be asynchronous as the network API call is not returning the value immediately. @escaping closure is just the Swift way of implementing callback.
@@novo4249 thank you so much Hans! I appreciate it!
DI with MVVM example? Awesome video btw, thanks
Sure! And thanks!
Why did you use singleton despite you used dependency injection? i know that one of dependency injection benefit is to remove singleton!!
same question here
Fantastic video - clear and concise! Cheers!
Glad it was helpful!
Brother for learning iOS development do we need Mac laptop or any other alternatives and if we want to buy apple laptop what OS needs to be purchased bro
Yes you need a mac with macos
@@iOSAcademy what OS Catalina or bigsur
@@iOSAcademy can we do swift programming in virtual machines
Hi, Thanks for great lesson with easy practical sample. I have one doubt, This injecting will works only on Targets or it will work classes too?
Youre welcome. Yep it works for both
@@iOSAcademy Thank you 🙂🙂
Smashing that like button even before watching the video. Thank you!
You're the best!
Loved it! Thank You so much.
Youre welcome
Thank you for this wonderful tutorial! One question: so the in the dataFetchable protocol, the function needs to have the exact same name with the one inside ApiCaller right ?
How do you inject to the home view controller when it's embedded in a Navigation Controller?
Should 256gb be enough for balancing college work and xcode projects or should i invest in 512gb storage? I am going to be purchasing a macbook air soon and don’t know how much storage xcode takes up. Thanks
255gb is definitely to small. U need at least 512gb.
Id invest in 512
16 gb of ram, minimum
@@johncerpa3782 ordered 512gb ssd 16gb ram
I have multiple environments how can I manage them?
please can we have another DI tutorials that talks more in depth concepts and how to work with MVVM
Much appreciated !!!
It was great video but I have different question. What should we do when we require a data to multiple places? I was thinking dependency injection is related to this but it seems it doesnt so I am little confused.
This was a very nice tutorial. I know it's slightly off topic but how would you handle dependencies of your separated out targets. Let's say you network module depends on alamofire but you do not want you main app to depend on alamofire.
I mean correct me if I'm wrong but once you import 3rd party dependencies to assist with backend network calls wouldn't it now become a global asset to the whole project? Anything having to do with the API would require you importing in alamofire for each file no?
@@ApoCaLypSeXVII I think we can also setup 3rd party for individual targets.
This is a great tutorial...Thanks a lot! Moarrrr plzzzzz.
Thanks!
suuuuper helpful. thanks!
Youre welcome
Thanks alot brother 👍 perfect understandable explination 💗 loads of love 💗😍
You’re welcome!!
Great Video! Isn't that dependency inversion?
Exactly my thoughts!
Pls make a tutorial about distribute app over the air
Thanks
You're welcome! 😎
brilliant di tutorial
Thanks
Impressive!!!
thanks
Excellent
Thanks!
Beautiful
Thanks
I broke my iPhone smashing the like button 😩
Oh no!
I smashed like button with broken phone
I’ve only been doing iOS development a few weeks, glad to see I’m not alone with Xcode being really flaky. Visual Studio isn’t perfect, but it seems way more stable and consistent.
import UsefullKit
Thanks!
kit
this was way too fast
👍👍👍
Thanks