Map in swift Higher order function Hindi tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 ก.ย. 2024
  • map in swift is a higher order function, in this map swift tutorial we will explore what is map in swift and what is the behavior of map. Map is a higher order function that will be used extensively in swiftUI with list in swiftUI and this video gives simple map example to use in swift
    So it's really important for swift programmers to know what map is and how map function in swift behaves, this video answers the questions like what is map function in swift and how to use map function in swift
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ✅ Subscribe to the channel and stay ahead of everyone by following the right way for writing clean code in swift. 🔥🔥🔥🔥🔥
    🔗Click on the link to subscribe: www.youtube.co...
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    -----------------------------------------------------------------------------------------------------------------------
    📥 Download the source code from
    Github: github.com/cod...
    Google Drive: drive.google.c...
    -----------------------------------------------------------------------------------------------------------------------
    🎶 Royalty free Music: www.bensound.com
    ############################################
    Connect with me on social media
    📧: codecat15@gmail.com
    🐦: / codecat15
    Facebook: / code.cat.792
    Github: github.com/cod...
    ###########################################
    #mapSwift #mapInSwift #mapSwiftHindiTutorial

ความคิดเห็น • 34

  • @CodeCat15
    @CodeCat15  4 ปีที่แล้ว +2

    map is a higher order function and helps us in doing data transformation with ease, but there's one behavior of map which every iOS developer should be aware of and today we will be seeing what that behavior is so that we can use map more effectively and at the right place in our project code. Please feel free to ask questions on this topic I will be happy to answer them

  • @persistent-s
    @persistent-s ปีที่แล้ว +2

    Thanks a lot Ravi bhaiya!

    • @CodeCat15
      @CodeCat15  ปีที่แล้ว +1

      Thanks Yash, am glad this video was helpful 😊

  • @HirenMistry0125
    @HirenMistry0125 4 ปีที่แล้ว +1

    How can i convert [ [“key1”:”value1”], [“key2”:”value2”], [“key3”:”value3”] ]
    To one dictionary??

    • @CodeCat15
      @CodeCat15  4 ปีที่แล้ว +1

      Hello Hiren, you would need to use flat map for that because your dictionary is inside a collection
      Here's a link to the gist I created for you do check it out: gist.github.com/codecat15/21d3adf5b890aed1715cd1d4cf92831f
      Hope it helps

  • @kalomanik-theghontusingh7791
    @kalomanik-theghontusingh7791 3 ปีที่แล้ว +2

    I like most the "KRANTIKARI" advice

    • @CodeCat15
      @CodeCat15  3 ปีที่แล้ว +1

      Am glad this was helpful Sumita, welcome to the channel

  • @gauharabbas3793
    @gauharabbas3793 3 ปีที่แล้ว +2

    Hello Ravi..I like your videos n way of teaching but I have confusion in somewhere I see $0,$1,$0.1,$1.1 and please also explain other possibilities like this ..

    • @CodeCat15
      @CodeCat15  3 ปีที่แล้ว +1

      Hello Gauhar, welcome to the channel I will surely try to make a video on this or maybe a blog on medium. Thanks for stopping by and watching the video.

  • @VirendraKumar-fe2sj
    @VirendraKumar-fe2sj 2 ปีที่แล้ว +2

    Bro - I have subscribed and liked ❤️ thanks for the wonderful tutorials ☺️

    • @CodeCat15
      @CodeCat15  2 ปีที่แล้ว

      Thank you for the subscription and for your kind words Virendra.

  • @vanitaladkat1491
    @vanitaladkat1491 11 หลายเดือนก่อน +1

    +1 for "returns Separate Array" explanation 🙌. There is always some new info in your videos.... kudos to you

    • @CodeCat15
      @CodeCat15  11 หลายเดือนก่อน

      Thank you I am glad this video was helpful, if you have any queries please feel free to ask.

  • @hardipgajera2316
    @hardipgajera2316 4 ปีที่แล้ว +1

    i daily learn something new by every video. Thank you CodeCat15

    • @CodeCat15
      @CodeCat15  4 ปีที่แล้ว

      Am glad these videos are helpful, if you have questions then please feel free to ask will be happy to answer them and do share this channel with your iOS group

  • @pushkarajpatil4787
    @pushkarajpatil4787 3 ปีที่แล้ว +1

    Subscribed :)
    Krantikari Kaam :D :D :D
    Nice video bro

    • @CodeCat15
      @CodeCat15  3 ปีที่แล้ว

      Thank you Pushkaraj

  • @amansinha7865
    @amansinha7865 3 ปีที่แล้ว

    Bhai URLSession.configuration per Kb banao GE.

  • @natureloverspakistan
    @natureloverspakistan 4 ปีที่แล้ว +1

    i use alot higher order function that helps to optimise code
    - for each
    - map
    - compact map
    - filter
    - first
    etc

    • @CodeCat15
      @CodeCat15  4 ปีที่แล้ว

      Indeed they are very handy to use and makes dev life easy

  • @ramcharanreddy7231
    @ramcharanreddy7231 4 ปีที่แล้ว +1

    Hi Ravi...your videos are amazing... can you create a playlist on combine framework also

    • @CodeCat15
      @CodeCat15  4 ปีที่แล้ว +1

      Hello Ramcharan, welcome to the channel. Yes there soon will be a loaded playlist on the same. If there’s a specific topic for combine you can think of then please do mention i will add it in the list. Do subscribe to the channel and share it with your iOS group on WhatsApp or Facebook 😊

    • @ramcharanreddy7231
      @ramcharanreddy7231 4 ปีที่แล้ว +1

      Code Cat lets start with basics. What is async programming? Benefits of it? Publisher, subscriber and operator are key basic topics to start with

    • @CodeCat15
      @CodeCat15  4 ปีที่แล้ว +2

      Combine framework works on the principles of observer pattern and functional programming, I did explain what is a publisher and subscriber in the observer pattern video so do check that out. The list you gave is solid and I believe it touches the core concepts I will add few more to it and will have a detailed video rolling out soon.
      Thanks for suggesting this @Ramcharan

  • @vipinkumarbdts
    @vipinkumarbdts 2 ปีที่แล้ว +1

    Sir please make Objective-C tutorial video.

    • @CodeCat15
      @CodeCat15  2 ปีที่แล้ว

      I would recommend using Swift than Objective C because this is what's widely used for building iOS apps and majority of the apps are updated to Swift so my recommendation is to learn Swift.

    • @vipinkumarbdts
      @vipinkumarbdts 2 ปีที่แล้ว +1

      @@CodeCat15 I know sir if we want to get a job in iOS development so we should have a knowledge of Objective-C also.

    • @CodeCat15
      @CodeCat15  2 ปีที่แล้ว

      Objective-C is good to know but Swift is a must, unless the company where you gave the interview works only with Objective C then it’s a different scenario altogether

  • @akumar4946
    @akumar4946 3 ปีที่แล้ว

    Great videos
    Thank you
    Keep it up

  • @AnuragKashyap17
    @AnuragKashyap17 4 ปีที่แล้ว +1

    Wow! I was not knowing that map can be used with optional types! That is the reason I am watching all the videos I getting to learn new things from each video ❤️❤️❤️❤️

    • @CodeCat15
      @CodeCat15  4 ปีที่แล้ว +1

      I am glad that info was new to you, glad this was useful 😊

    • @AnuragKashyap17
      @AnuragKashyap17 4 ปีที่แล้ว +1

      And wo kraaantikari advice b mast thi 😂

    • @CodeCat15
      @CodeCat15  4 ปีที่แล้ว +2

      😂😂😂😂 aare bhai maintainence ki duniya mai bahut papad bele hai, coz kaisa hai tum kya use kar rahe ho uska behavior tumko malum hona chaiye ki isko kaisa data pass kiya to ye kaisa respond karega, varna hoga kya ki tum use karogaye ek dum excited hoke but output kuch aur aayega fir dil k armaa aasuo mai beh jayengaye to aisa na ho isliye ye chetavani pahele he de daali maine

    • @AnuragKashyap17
      @AnuragKashyap17 4 ปีที่แล้ว +1

      Code Cat 😂 Ye chetaawni achi thi or zaroori bhi 😅😅