Swift Clips: Managing URLs and endpoints

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024

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

  • @yixe2253
    @yixe2253 4 ปีที่แล้ว +3

    John just now started making videos and they're already top class. Most tutorials would've just stopped at 1.

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

    I'm new to iOS development and I was able to understand all the explanations. Thank you!

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

    Same kind of cool design / theme as your website, Top quality explaination and code that everyone can implement and to recommend to any beginners in Swift

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

    0:51
    0:56 static computed property & factory method, dot syntax
    1:42 build endpoint method
    2:00 endpoint type (enum)
    3:12 URLSession extension
    4:10 model types VS. endpoint
    (Struct)
    URLComponent, build URL 5:18
    1/已知的api名字 2/动态组装的
    6:28

  • @software-sage
    @software-sage 3 ปีที่แล้ว

    This is a high quality video. I appreciate this

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

    As usual, great stuff!

  • @Prashant-7
    @Prashant-7 4 ปีที่แล้ว +1

    Always best !!!

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

    thank u, i wonder i already using first method but I like the last one :)

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

    You are a treasure.

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

    I don't understand, you created enums so that you wont have to create API functions for every end point, but after creating the enums, you still end up creating API functions except this time you're not passing in the general URL for each end point. In the end you're still creating serval functions for fetching the API end points so I don't see where the simplicity is how this reduces lines of code/errors?

  • @niconasbeznas6781
    @niconasbeznas6781 4 ปีที่แล้ว +3

    Recommended speed: 1.5x, good tips though.

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

      are you crazy or just french?