Part 2 - Generic & Reusable Get API Calls with URLSession + MVVM + Singleton Pattern Swift 5 Hindi

  Рет қаралды 8,867

Yogesh Patel

Yogesh Patel

Күн бұрын

Пікірлер: 71
@relaxedSoundtracks
@relaxedSoundtracks Жыл бұрын
Yogesh Bhai one important thing is missing in this MVVM API series that is "Pagination"please drop another video as an part 4. I would be thankful to you.
@bhaveshios4832
@bhaveshios4832 Жыл бұрын
wah.....bhai maja aagaya ...learn so many new things. thank you so much for making this type of video for us,,,, great work 🙏🙏🙏🙏
@_sohel_rana
@_sohel_rana Жыл бұрын
Thank you bro. it's very helpfull for me.
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Glad to hear that bro 😃
@syedaniruddhan
@syedaniruddhan Жыл бұрын
realy help full yogesh vai ........
@Piyushkumar314
@Piyushkumar314 Жыл бұрын
Sir aise hi regular videos lao.. Thank you .
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
I will try my best brother. Glad you like it!
@navikaushal1795
@navikaushal1795 Жыл бұрын
Hello Yogesh Bhai, I have learned lots of new things from this and previous video. It is really worthy for me👍👍👍👍👍 Waiting for the next part of the session. Thanks again
@ashishfireuse
@ashishfireuse Жыл бұрын
thank you sir valuable content
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Welcome ashish 😃
@Krutika.sonawala
@Krutika.sonawala 10 ай бұрын
wow wow wow... just toooo goood
@rohitp9371
@rohitp9371 Жыл бұрын
Learning made easy by Yogesh.Thank you 💌
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Glad to hear that Rohit :-)
@umarparacha653
@umarparacha653 Жыл бұрын
Yogesh at its peak
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Hahaha thanks bro :-)
@NikunjJadav
@NikunjJadav Жыл бұрын
Great Work Yogeshbhai. Keep it up. Could you please let me know? How can we use generic for all add 2 values which are numbers, doubles and string etc?
@musiboo_ni_ba6608
@musiboo_ni_ba6608 Жыл бұрын
I wish ki ye video kl aayi hoti😅😄 to bhot help ho jaati yesterday I want to implement 8 api's in my project but I had only implemented the 4 in it and four remains but that video help me very much. Thank you
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Hahha, yeah abhi mast implement karna and kuch query lage to muje batana. thank you for your support :-)
@musiboo_ni_ba6608
@musiboo_ni_ba6608 Жыл бұрын
@@YogeshPateliOS sure sir😇
@aashutoshrimal
@aashutoshrimal Жыл бұрын
thanks, bro! I've been able to learn a lot..... can you make the video to insert the resulting API data into the core database?
@gauravchauhan7195
@gauravchauhan7195 Жыл бұрын
great 👏👏. learned a lot from it.
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Great 👍 Keep up the good work :-)
@sunilbiloniya25
@sunilbiloniya25 Жыл бұрын
great job sir Its easy and understandable thanks for this video but PLEASE make video on dependencies injection and solid principles. 🙏🙏🙏
@EsrafilMallick-z3l
@EsrafilMallick-z3l Ай бұрын
ka ap mujhe Vieo editing Application kaise banate hai uske uper video bana sakte hai ,
@omkarki1516
@omkarki1516 Жыл бұрын
Thank you sir, very professional level coding. still confused in how to inflate API data in compostional layouts where there is multiple collection view in MVVM file structure. Thank you.
@techcapture8363
@techcapture8363 Жыл бұрын
Yogesh Bhai its always a good standard practice to use weak self or unowned self in case of dealing with closures and Notifications centres and with Delegates protocols cos it may cause a retain cycle and create problem of memory leak . Deinit block call hi nhi hoga joki acha nhi hai memory mgmt ke points se
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Yes bro, Next video I will add weak self in our closure. Got your point bro :-) Thank you!
@Rahul-jf5kf
@Rahul-jf5kf Жыл бұрын
Really nice video Yogesh, also want to add one more thing. if we make EndPointItem:String then no need of variable path direct we can use rawvalue
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Thanks Rahul for your suggestion. I suggest you to use path for readability rather than raw value. If you see httpmethod we use rawvalue but in this case better to use path variable. Understood bro? 😄
@raghudattawad
@raghudattawad Жыл бұрын
Thank you Yogesh Sir Learned concept using MVVM using Generics and Please make the video on Local Storage api call same with core data and fetch locally
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Will upload soon Raghu :-)
@sajansachdeva151
@sajansachdeva151 Жыл бұрын
Done bro. you are doing a great job
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Thanks brother :-)
@Rahul-jf5kf
@Rahul-jf5kf Жыл бұрын
Hello Yogesh, 6:20 in this case we definitely need same type, but because of type inference it considers both as double. but if we first store both values in variable and then pass to that function then definitely it will give you error
@afzaalyaqub786
@afzaalyaqub786 Жыл бұрын
Keep it up
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Thanks man!
@karanmehra9455
@karanmehra9455 Жыл бұрын
Yogesh bhai, jab apne API URL ko chrome mai paste kiya. apko well structed json dikha. lekin jab hum karte hai to hame sab kuch mixup dikhta 😅 hai. konsi extension use krte h aap? ❤
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Hey Karan, ha bhai mai chrome ka extension use kar raha hu - JSON Beautifier & Editor 😅
@karanmehra9455
@karanmehra9455 Жыл бұрын
​@@YogeshPateliOS Thank you Yogesh bhai
@Aditya-ju6yi
@Aditya-ju6yi 4 ай бұрын
aaj tuesday hai video pr time stamp daal dijiye topic wise sirji
@YogeshPateliOS
@YogeshPateliOS 4 ай бұрын
hahaha theek hai, weekend mai yad karke add karta hu timestamp or tuesday karu bhai 😜?
@VinuAsabe
@VinuAsabe Жыл бұрын
sir alamofire get method par ek simple video banao plz
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Bro already banaya hai channel mai ek bar check karna 🤟🏽
@junaidkamoka4059
@junaidkamoka4059 Жыл бұрын
🤞
@mithunchandradey9073
@mithunchandradey9073 6 ай бұрын
If I am using codable then just replace decodable to codable ?
@neeallsevak
@neeallsevak Жыл бұрын
in MVVm please add navigation model view too. it becomes tricky when we want to navigate.
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Hello, Apple introduce Coordinates pattern for navigation in MVVM. It's called MVVM - C. I will do that for you! 🙂
@neeallsevak
@neeallsevak Жыл бұрын
thanks bhai. 🫶🏻
@rohitp9371
@rohitp9371 Жыл бұрын
@@YogeshPateliOS Can you share the link where Apple introduced MVVM-C. I was in understanding that apple only shows examples in MVC.
@gauravchauhan7195
@gauravchauhan7195 Жыл бұрын
Console me jo navigation delegate set up incorrectly wala error h....... wo kaise solve hoga....?? or wo error aa q raha h....??
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
bro it's bug of XCode. it will be resolved in upcoming version. developer.apple.com/forums/thread/714278
@gauravchauhan7195
@gauravchauhan7195 Жыл бұрын
@@YogeshPateliOS Thanx bro.
@AnjuChaudhary-k4n
@AnjuChaudhary-k4n Жыл бұрын
Hlo sir sir ye MVVM Ka method bhut lengthy hai koi dussra method nhi hai ? MVVM k liye
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
bro lengthy muje samj nahi aaya. Yai thoda sa complex hoga but yai sab sai flow best hai bro. Yai learn kar lega to bahut kam aayega aage.
@brahmanandabehera2543
@brahmanandabehera2543 Жыл бұрын
please bro add more screen in next video.
@brahmanandabehera2543
@brahmanandabehera2543 Жыл бұрын
can you please provide your source code of GENERIC API project?
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Description mai link hai bro github ki😀
@doseofdopamine2031
@doseofdopamine2031 Жыл бұрын
Bhai MVVM with combine kia hi nhi?
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Nahi kiya pahele mvvm kar diya closure ke sath thoda time mai combine kar dunga. Sab mix karta to hard to jata isliye bro
@doseofdopamine2031
@doseofdopamine2031 Жыл бұрын
@@YogeshPateliOS part 3 bna k kr dete, fir part 4 me rxswift kr dete, mvvm ka topic pura ho jata, bich me hi chhod dia
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Generic kiya na bro part 3 mai. Aeshe rxswift wo sab mix nahi kar sakte alag sai banana padega. Mvvm di generic yai main things hai yai sab part me
@doseofdopamine2031
@doseofdopamine2031 Жыл бұрын
​@@YogeshPateliOS generic toh api calls k liye implement kia. You only said in the beginning of MVVM that there is no point of MVVM without two way binding, you only said k bina two way binding k its not true mvvm, aur khud hi fir two way binding nhi btaya
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
@@doseofdopamine2031 data binding ko closure sai implement to kiya hai thoda check karna - closure enum way sai binding kiya hai - without binding thodi na hoga - pdf check karo kitne way ke binding hai.
@jack666hack
@jack666hack Жыл бұрын
Bro if you speak Urdo please say that on the title of the video You’re mixing english with urdo and we don’t understand
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Hello Jack, I apologize for any inconvenience caused. At the end of the title, I mentioned it in Hindi. By the way, let's stay connected, as I will soon be creating videos on the English language.
@abdu5822
@abdu5822 10 ай бұрын
this video would have reached millions if he spoke English, sorry pal.
@YogeshPateliOS
@YogeshPateliOS 10 ай бұрын
I totally agreed with you bro 😅
@abdu5822
@abdu5822 10 ай бұрын
@@YogeshPateliOS i hope we can learn from you equally in the future.
@abanoubashraf1308
@abanoubashraf1308 Жыл бұрын
why is it so hard to make it in english? indians can understand english too i guess
@YogeshPateliOS
@YogeshPateliOS Жыл бұрын
Haha. Yes I made video that should I make video in english. Everyone said no. I am planning to make videos in english. Be in touch 😀
@oybeknarzikulov2255
@oybeknarzikulov2255 Жыл бұрын
@@YogeshPateliOS Nice series bro. Keep going. I am waiting for videos in English or at least English subs. Thanks
map, compactMap and flatMap in Swift 5 Hindi 2023 | SWIFT INTERVIEW
24:04
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 262 #shorts
00:20
1 сквиш тебе или 2 другому? 😌 #шортс #виола
00:36
MVVM with SwiftUI and Combine | iOS | Demo Application
32:43
AppCoders
Рет қаралды 3,5 М.
Swift API Calls for Beginners (Networking) - Async Await & JSON
25:35
iOS MVVM swift code review best practices | Hindi
27:33
Code Cat
Рет қаралды 6 М.
Swift 5 Tutorials :- How to use Enumerations or Enum in iOS Hindi.
17:58
MVVM + Dependency Injection in Swift | Unit Testing | iOS
29:29
How I Turned a Lolipop Into A New One 🤯🍭
00:19
Wian
Рет қаралды 11 МЛН