MVVM | Alamofire | JSON Decoder | Codable | Coding Keys | URLSession | API Tips | Swift 5 iOS Hindi.

Поделиться
HTML-код
  • Опубликовано: 9 ноя 2024

Комментарии • 210

  • @YogeshPateliOS
    @YogeshPateliOS  2 года назад +5

    Please follow this new video about MVVM
    ruclips.net/video/fMO03NUjdj8/видео.html&ab_channel=YogeshPatel
    Hello Guys, This is not a proper MVVM Video because here I am violating one rule that we can not make a view controller object in the ViewModel class here I did that thing. You need to pass data using closure or protocol delegate. The rest of all things are correct. Really sorry for the inconvenience. Soon I will upload a new video on MVVM with a clear explanation.

    • @mayankpalotra8549
      @mayankpalotra8549 2 года назад +1

      We will waiting for upcoming MVVM video @Yogesh Bhai ♥♥

    • @YogeshPateliOS
      @YogeshPateliOS  2 года назад

      @@mayankpalotra8549 Yes bro will do soon. 😀🔥

    • @favoritetroll9774
      @favoritetroll9774 2 года назад

      @@YogeshPateliOS sir is the video done

    • @YogeshPateliOS
      @YogeshPateliOS  2 года назад +1

      @@favoritetroll9774 bro yai video done hai but minor mistake hai jo mene mentioed kiya is ko edit nahi kar sakte mere ko new video banana padega!

    • @favoritetroll9774
      @favoritetroll9774 2 года назад

      @@YogeshPateliOS ji bhai woh hi pooch tha tha, kb new video ay ga. Aur bro ap ka koi contact ha , telegram ya kuch. Your videos very helpful, I been watching a lot of them.to prepare myself for ios. Toh kabhi kabhi help ka zaroorat hota ha

  • @navalhasan
    @navalhasan 4 года назад +7

    Can't thank enough. I've been trying to learn MVVM for a long period of time. This is the first time I could learn it. I love your channel. This is the best MVVM tutorial on internet.

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +3

      Glad I could help!. Thank You so much for your valuable comment dost :-)!! Keep Supporting me!

  • @digitalmazdoor9956
    @digitalmazdoor9956 4 года назад +1

    Sir, Like Kar Diya. Aap ke sabhi videos sach m bahut acche h....Meri abhi joining hui h as a iOS developer ....Bahut help karte h apke tutorials

  • @musiboo_ni_ba6608
    @musiboo_ni_ba6608 2 года назад +1

    Thank you very much sir for uploading this type of content and giving the knowledge who doesn't know about that methods and help them so much and I'm one of that person. Thank you

  • @sandhyareddy5885
    @sandhyareddy5885 3 года назад

    Bro....Thank you...thank you.. Thank you so much.. Truly commendable. I started learning swift with the recourse of your videos. Although I have searched the same content in other RUclips channels, I didn't find them salutary. But, your videos are explained meticulously. Even a novice can comprehend. God bless you. Please keep up the good job.

  • @aashishbapodra7847
    @aashishbapodra7847 4 года назад +1

    Superb bhai, Apki bich me error a rahi thi toh usse mujhe or knowledge mile ki kse register krte hai xib. Thank you bhai asse hi original video bana na. Thank you

  • @shaikbaji1506
    @shaikbaji1506 4 года назад +3

    This is what many of them are waiting , MVVM with Alamofire codables decodables codingkey it would be great if you come with data binding concept too dependency injection too... 😊 Thanks for your vide @yogesh patel

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +1

      Yes bro Model And ViewModel DataPassing or Layer Conversation we can call Dependency Injection. If you want check more about this then please my MVVM Video :- ruclips.net/video/cGdT2iaC77g/видео.html

    • @mahesh6855
      @mahesh6855 4 года назад

      Arey Baji baba ga

    • @shaikbaji1506
      @shaikbaji1506 4 года назад

      @@mahesh6855 erha bhayya ga a Hyderabad vidichi petti baytaku ra ra

  • @RahulSharma-ru9yp
    @RahulSharma-ru9yp 2 года назад +1

    Mujko bi samaj aaya, Now i will impliment in my code . Thanks Yogesh

  • @Darkmoon783
    @Darkmoon783 4 года назад +1

    Yogesh bro you are such great person and made problems with make very very simple.

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +1

      Thank you much for your valuable comment. It’s really appreciating me! 😀👍🏻

  • @PrashantJadhav6001
    @PrashantJadhav6001 Год назад +1

    I really appreciate your efforts creating these videos which are easy to understand. Is there any video on Swiftinject/ realm database/ RxSwift ?

    • @YogeshPateliOS
      @YogeshPateliOS  Год назад

      Hey, I have uploaded video on Realm you can find in my channel. Regarding rxswift and swiftinject i will do that soon 👍🏻

  • @SubhashJaiswar-mu1qj
    @SubhashJaiswar-mu1qj 6 месяцев назад +1

    Nice video thank you but i have a question how to call POST Api pls make a video

    • @YogeshPateliOS
      @YogeshPateliOS  6 месяцев назад

      Please check in channel, I think i uploaded some videos on post :)

  • @shashivendrasinghsengar792
    @shashivendrasinghsengar792 3 года назад +1

    thank you sir great video for beginners and you give brief knowledge about mvvm in easy words and all topic cover in very easy way .

  • @vaibhavkshirsagar9325
    @vaibhavkshirsagar9325 2 года назад +1

    Always best session and very helpful. Thank you so much yogesh Sir ..........

  • @abcd-mc3mn
    @abcd-mc3mn Год назад +1

    Hi Yogesh now have you released new update video on MVVM as you told please tell me ?because i am waiting for it its really helpfull for us

  • @GodzSpearGaming
    @GodzSpearGaming 4 года назад +1

    Sir Ur tutorials r very good and easy to understand.best MVVM video and explained in a very good practical way + therotical points.Worth Spending every bit of time to learn.

  • @sankaradhikary4834
    @sankaradhikary4834 2 года назад +1

    Very good First time I learn Swift Ui

  • @haroonmazhar5212
    @haroonmazhar5212 4 года назад +1

    2 month say isi video ka wait tha thanks yogesh sir

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +2

      Are to bhai batao video kesha laga kuch suggestion ho to bolna or query ho to bhi. Thanks :-)

  • @praveen_agnihotri
    @praveen_agnihotri 4 года назад +1

    In the cell you are trying to use the Usermodel properties like id, title and hence your cell which is nothing but a part of the view is getting binded to the model which should not happen in the MVVM. View should only be talking to the View model.
    Please correct me if i am wrong.

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +1

      Hii Praveen. You are right brother. Here I have created MVVM without binding. If you want to learn binding then please watch this video it's about MVVM Binding. Model to ViewModel Right ?
      ruclips.net/video/cGdT2iaC77g/видео.html
      This is video is implementation about the MVVM like the brief idea for UITableView And API Process and Layers flow. Let me know if you have any further query. You can ask more and more question like this. Happy because i can learn this on more deep :-) Thanks buddy.
      If you have good knowledge on MVVM then please tell me so i can learn something from you. I can make another video on it!

  • @waandertales
    @waandertales 3 года назад +1

    Great tutorial for MVVM beginners. I've been trying to understand MVVM for a long time, found few videos, but it was not clear to me. After watching this video I am really very happy that finally I got the clear concept and the way you described each thing it's really very helpful and easy to understand.Can you please share MVVM example for POST method and how will be the structure if we have more api to call??

  • @akashpatil5837
    @akashpatil5837 4 года назад +1

    sir can you please make one video on news api how to append and show in table view ....

  • @tasteandhealththeory5161
    @tasteandhealththeory5161 3 года назад +1

    Hi Yogesh, This is really amazing Video of MVVM. I am going to use your all tips. Once again Thank you Yogesh.

    • @YogeshPateliOS
      @YogeshPateliOS  3 года назад +2

      Welcome. I am Glad that this video is helpful for you. Keep watching 😀👍🏻

  • @MKTech2688
    @MKTech2688 2 года назад +1

    Wonderful work. Amazing explanation. Keep helping people. Can’t wait for your next video. Such a brief video with full explanation. Never seen this much efforts of anyone to make people understand those basic logics. Appreciate that 🙏🏻🙏🏻🙏🏻👍🏻👍🏻

    • @YogeshPateliOS
      @YogeshPateliOS  2 года назад

      Welcome, thanks for your valuable comment! Really means a lot to me.

  • @niffarimeirina3243
    @niffarimeirina3243 3 года назад +1

    finally, I figure out this tutorial that I've been looking for. thank you so much! I'm looking forward for your next tutorial

  • @kanakyadav7025
    @kanakyadav7025 4 года назад +1

    after a long time understand MVVM thanks yogesh bro

  • @ranbijaysinghdeo
    @ranbijaysinghdeo 2 года назад +1

    Great video bhai, detailed and explained beautifully. Keep uploading more.

  • @ahtashamansari8697
    @ahtashamansari8697 4 года назад

    Hi Yogesh, Nice video but there is one query from my side that table reload in view modal is the right way?. By the definition of mvvm view modal can't intrect to controller directly please explain.

  • @abhisheksuryawanshi9338
    @abhisheksuryawanshi9338 3 года назад +1

    One of the best explanations for MVVM. Thanks.

  • @govind20246
    @govind20246 3 года назад +1

    Nice explanation yogesh ...! Simply awesome 👍

  • @jitu4u
    @jitu4u 4 года назад +1

    Wow! So far this was the best tutorial I have found on the internet. Keep up the good work Yogesh. I would also like to see and next tutorial on the same topic where you can explain us how to use of POST, PUT, DELETE API and also when the response is Dictionary instead of Array, how will the viewModel changes. Thanks alot!!

  • @incrustsoft6439
    @incrustsoft6439 4 года назад +1

    the way you started explaining, I pressed like

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +1

      Hey thanks, buddy, I just open the video and checked what I did on starting of this video 😂😂 LOL. Thanks for your appreciation it's really motivating me!

  • @deviyaniswami8814
    @deviyaniswami8814 4 года назад +1

    That is what I was looking from so many days
    Thanks buddy
    Good luck

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +2

      Hahaha! I am glad that my videos are helpful for you. Thanks For Your Support :-)

  • @devanglakhani335
    @devanglakhani335 4 года назад

    Excellent Yogesh Patel, Outstanding Explanation on Alamofire, and URLSession and Tips.
    Thanks, lot of learning from you

  • @jsr3509
    @jsr3509 3 года назад +1

    Hi sir can you please explain Rx swift?

  • @sanojyadav-dr4ho
    @sanojyadav-dr4ho 3 года назад +1

    Can you please upload more videos about web services using Alamofire

  • @vedpatitripathi9558
    @vedpatitripathi9558 3 года назад +1

    Thank you sir, for giving such a good tutorial.. this is best video

  • @AbhishekKumar-lr4vx
    @AbhishekKumar-lr4vx 4 года назад

    Thanks for this great video But I have a single doubt. Is it good to have a networking code in the view model?

  • @prashanththota2203
    @prashanththota2203 4 года назад +2

    You saved so many..Keep Going Yogesh.

  • @gulrukhibrar4474
    @gulrukhibrar4474 4 года назад +1

    Hi Patel, First You are doing great job I had a query with almofire i commented on your mvvm video and you did, secondly can you explain a approach for login and signup using mvvm almofire

  • @SriHarshaChilakapati
    @SriHarshaChilakapati 3 года назад

    Patel ji, mein abhi Android developer hun with 3 saal kaa experience, aur abhi iOS seekhna shuru kiya hain. Mujhe kuch doubt aagya ki MMVM ka upayog iOS mein kyu aaya?
    Android mein ek concept hein ki Activity Recreation, aur wo har bar device rotation hone par, yaani app switch hone par occur ho jayega. Abhi yahan problem hein ki device rotate hone par Android sochte ki hum poora Activity (UIViewController equivalent) ko destroy karke naya orientation ka layout ke sath fir se create karenge.
    Aur ye re-creation hone ke baad naya Activity ka instance ID bhi change hosakte hein aur isi liye instance variables aur state waha lost hojayega. Usi situation ko handle karne liye humein ViewModel ka upayog karte the.
    Lekin mere understanding kya hein ki iOS mein ye issue nahi aayega kyunki AutoLayout hein yaha our ek hi ViewController hote hein rotation ke pehle aur baad bhi. Similar situation koi hein kya iOS mein? Ye to pehle doubt hein mera.
    Dusra hein ki MVVM ka understanding mein, kyunki jo humne Android mein use kar rha hein wo thodi si alag hein.
    Model to same hi hein jo kuch is video mein bataya
    ViewModel ko state container hein
    View hein jo user ko hum screen pe dikhega yaa jo views ko control karega (Activity / Fragment, iOS mein wo ViewController hein)
    Aur humne ye data flow one way hona chahiye. ViewModel ka instance View ko dena padega aur Model ka instance reference ViewModel ko dena padega. Lekin is video mein dekha ki aapne 13:47 ke samay ViewController ka reference (weak) ne ViewModel ko diya. Isliye mein ne thoda confuse hua.
    Ye bhi clarify kar dena please?

  • @AmitGupta-ef2nm
    @AmitGupta-ef2nm 4 года назад +1

    nice video sir..
    i will implement all things in my new project which you have learned in this video.
    thanks for superb video. there is no ios video available in youtube in hindi language..
    please make one video on chat application using firebase..

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +1

      Hi thanks for your valuable comment. I will surely upload video on chat !

  • @bikashgoswami_vblog
    @bikashgoswami_vblog 3 года назад +1

    Very help full videa ....sir can you make video about Google add like banner admob

  • @ahsanmughal9151
    @ahsanmughal9151 4 года назад +2

    Hi Yogesh, You should have used Protocol to send notifications/data back to view controller instead of using ViewController object.

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +2

      Yes You are right. In this video I just want to give information about to send notification using viewcontroller instance. I Have a seperate videos about Protocol, Closure, NotificationCenter. I will keep it in mind. Thanks for watching and your suggestion.

  • @affankagzi6845
    @affankagzi6845 3 года назад +1

    Great! Buddy. Can you make it one in RxSwift with mvvm structure. i am just 2 week old in IOS

  • @ShyantanDeb1
    @ShyantanDeb1 4 года назад +1

    This is what I was looking for so many days. thanks mate

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +2

      Welcome brother. I hope this video is helpful for you and you learn something from this video. Thanks :-)

  • @karanmehra9455
    @karanmehra9455 4 года назад +1

    Thank you so much sir for Tutorials. You Are Great Sir.........

  • @amitnegi5279
    @amitnegi5279 4 года назад +1

    Thank you, for the information that you provided in your video.

  • @SunilYadav-dx9fb
    @SunilYadav-dx9fb 3 года назад

    I have one doubt or you can say question?
    BTW very Good explanation. Thanks Bro
    Like MVC - we create folder in this M-Model , V-view, and C-controller only
    So in MVVM, M-model, V-view, VM-viewModel . In this no controller. So why we are creating folder for controller. ? IN THIS WAY IT SHOULD LIKE MODEL VIEW VIEW MODEL CONTROLLER. ISN'T????
    PLEASE EXPLAIN YOGESH SIR OR ANYONE

    • @YogeshPateliOS
      @YogeshPateliOS  2 года назад +1

      bro in View folder you can add Controller file

  • @tusharingale8143
    @tusharingale8143 3 года назад +1

    Thanks for great tutorial.. keep it up bro :-)

  • @himanshukesharwani5333
    @himanshukesharwani5333 4 года назад +1

    Nice Video Sir, I understand MVVM clearly with this video, thanks for explaining each and everything in a good manner :)

  • @indersandhu1863
    @indersandhu1863 Год назад

    please make a video on country picker in textfield with third party library

  • @Sakshisharma-kt1mt
    @Sakshisharma-kt1mt Год назад +1

    very knowledgable video

  • @asadparekh324
    @asadparekh324 4 года назад +1

    Good Explanation sir....

  • @dhameliyavrushabh9090
    @dhameliyavrushabh9090 4 года назад +1

    Nice video.please make video on how to data store in database using MVVM structure?

  • @NishantNarola
    @NishantNarola 4 года назад +1

    Nice helpful video and always upto the point. Great video bro

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +1

      Thank You bhai. Keep supporting me!

    • @NishantNarola
      @NishantNarola 4 года назад +1

      Yogesh Patel sure bro and i will ping you today after dinner

  • @alankritamall4254
    @alankritamall4254 3 года назад

    Sir libaries lgana bta dijiye

  • @kiransonne7689
    @kiransonne7689 4 года назад +1

    Big Thanks Sir, very nice explanation !!!

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +1

      Welcome! I am glad my video is helpful for you. Thank you 😊

  • @sarathkumarsekar4713
    @sarathkumarsekar4713 3 года назад +1

    Nice, Please make video for post request

  • @danielgarcia-dd4kz
    @danielgarcia-dd4kz 3 года назад

    how to use the same user viewModelUser in other UIViewController??

  • @neerajsoni4663
    @neerajsoni4663 4 года назад +1

    Good explanation Pls make a video on viper as well

  • @ShravanKumar-dp7mi
    @ShravanKumar-dp7mi 3 года назад +1

    Very Useful tutorial

  • @danyalqureshi570
    @danyalqureshi570 4 года назад +1

    ChatApp b banana sikhao Api web service k through jesy k whatsApp hota hy

  • @vishalsinghsolanki4915
    @vishalsinghsolanki4915 2 года назад

    I need help, my api calling is taking to much time and some time got response sudden...(by using alamofire and url session also)Please help bro

  • @vivanshinoda9793
    @vivanshinoda9793 4 года назад +1

    post one video on KolodaView with fetch images from api. I tried but it's little tricky

  • @pateltwinkle9338
    @pateltwinkle9338 2 года назад +1

    can i use multiple json file in one view controller??

  • @kapilgoyal7808
    @kapilgoyal7808 Год назад +1

    Nice Video Yogesh

  • @codecloud7638
    @codecloud7638 4 года назад

    Sir,
    Data key ke under, list naam ki dictionary ho or list k under array ho to kese get karege
    Please reply

  • @abhinarigara8518
    @abhinarigara8518 3 года назад +1

    First like then watch.

  • @thundergamersyt9337
    @thundergamersyt9337 3 года назад +1

    Literally its great

  • @sudhanshusaraswat8045
    @sudhanshusaraswat8045 4 года назад +1

    Great tutorial Yogesh. Keep up the good work. Buddy can you make one tutorial of MVVM using dependency Injection.

  • @er_shashikant4385
    @er_shashikant4385 2 года назад +1

    Sir i need paypal integration pls make the video in ios swift

  • @payal.maniyar9839
    @payal.maniyar9839 3 года назад

    Please make video on how to use Moya.

  • @indrajeetgaikwad5660
    @indrajeetgaikwad5660 4 года назад +1

    We can use MVVM Structure to implement using firebase database structure, how to implement please help me bro

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +1

      Hii can you please explain in more detail so i can help you. Thank You :-)

    • @indrajeetgaikwad5660
      @indrajeetgaikwad5660 4 года назад +1

      @@YogeshPateliOS How to get Data in firebase database and update some fields in Firebase database tables to implement in Swift as well as SwiftUI

    • @haroonmazhar5212
      @haroonmazhar5212 4 года назад +1

      bahi ho skay to guard statement py bi video bana dain lga say with real time real ky sath

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +1

      @Indrajeet bro please watch my firebase realtime database series on swift. Thanks :-)
      ruclips.net/video/KEubRO8VPWA/видео.html

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +1

      @Haroon Sure bhai karta hu kuch :-)

  • @pravinparmar3622
    @pravinparmar3622 2 года назад +1

    Good work brother

  • @manjunathckadani7732
    @manjunathckadani7732 4 года назад +1

    Very Helpful. Thank you

  • @akshayhastekar103
    @akshayhastekar103 4 года назад +2

    Always good session and very helpful. Thank you so much :-)

  • @badalyadav774
    @badalyadav774 4 года назад +1

    Great tutorial and please also share MVVM with two way data binding.

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +1

      Great suggestion! I will do bro :-) Thanks..

  • @shaileshprabhudesai6013
    @shaileshprabhudesai6013 4 года назад +1

    Make video on Clean VIP

  • @puneetpal1466
    @puneetpal1466 4 года назад +1

    Good work Yogesh Bhai :)

  • @giritalasila9942
    @giritalasila9942 4 года назад +1

    good video dear thank you

  • @KrishnaYadav-up1lz
    @KrishnaYadav-up1lz 4 года назад +1

    nice job boss!!! its very helpful,,,,,

  • @NaveenKumar-gv8vs
    @NaveenKumar-gv8vs 4 года назад +1

    Awesome video sir , I learn new thing in this video

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +1

      Great bro. I am glad this video is helpful for you. Yo Thanks :-)

  • @SanjeevThapar0604
    @SanjeevThapar0604 3 года назад +1

    Very helpful video brother :)

  • @whitedevil9660
    @whitedevil9660 4 года назад +1

    thanx vary much sir

  • @hamayunzeb7609
    @hamayunzeb7609 2 года назад +1

    OutStanding....

  • @SandeepSingh-lg7bq
    @SandeepSingh-lg7bq 4 года назад +1

    Thanks you so much Yogesh bro

  • @manjursiddiqui1876
    @manjursiddiqui1876 4 года назад

    Hello Sir I m' getting this problem
    Invalid Swift Support - The SwiftSupport folder is empty. Rebuild your app using the current public (GM) version of Xcode and resubmit it.

  • @fatimaakram9602
    @fatimaakram9602 2 года назад +1

    really good video

  • @mdtarifkhan1825
    @mdtarifkhan1825 2 года назад +1

    great sir ❤️❤️❤️

  • @kapildongre3996
    @kapildongre3996 2 года назад +1

    Thanks a lot sir..!!!

  • @Karma_Rinku
    @Karma_Rinku 4 года назад +1

    Great job Boss

  • @mahesh6855
    @mahesh6855 4 года назад +1

    Superb bro thanks, thank you so much

  • @TouchlineTales1093
    @TouchlineTales1093 3 года назад +1

    Great very helpful...

  • @giritalasila9942
    @giritalasila9942 4 года назад +1

    Thank you dear yogesh

  • @techwallahs1
    @techwallahs1 3 года назад

    Nice and simple Video

  • @asadgillani5540
    @asadgillani5540 4 года назад +1

    Great Yogesh Bro

  • @007nitinbondietcse
    @007nitinbondietcse 4 года назад

    Hi Yogesh how to manage this type of json:
    {
    "resultFlag": 1,
    "message": "Category Listing",
    "response": [
    {
    "_id": "5f568bb9ca9fc9589cdc86a2",
    "name": "Test"
    },
    {
    "_id": "5f50cc608adce230fcb89f23",
    "name": "Specials"
    },
    {
    "_id": "5f50942e0381532abfc5eca3",
    "name": "Bulletins"
    }
    ]
    }

  • @asadgillani5540
    @asadgillani5540 4 года назад +1

    very demanding video Yogesh sir

  • @vinaymahipal6034
    @vinaymahipal6034 4 года назад +1

    Make detail video on viper

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад +1

      Okay sure bro. I will try and upload soon. Thanks

  • @imuhammadjabbar
    @imuhammadjabbar 4 года назад +1

    Can you please upload this source code on Github as well. To have a review on it. Would be a favour. Thanks :)

    • @YogeshPateliOS
      @YogeshPateliOS  4 года назад

      Sure bro.
      github.com/YogeshPateliOS/MVVM-Alamofire-JSON-Decoder-Codable-Coding-Keys-URLSession-API-Tips-Swift-5-iOS-Hindi..git

  • @a4advanture755
    @a4advanture755 3 года назад

    thanks alot man . love you bro