How to use SDWebImage in SwiftUI | Swift Packages #1

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

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

  • @arunmurugan5196
    @arunmurugan5196 10 месяцев назад

    Thank you for sharing this informative video on SwiftUI package! It's been incredibly helpful for me. I would love to see more content like this in the future. Keep up the great work!.

  • @gagnassss
    @gagnassss 10 месяцев назад

    Thanks a lot for your video Nick. With your tutorial I've solved an issue where I stuck for weeks! Great video!

  • @oliviergeiger
    @oliviergeiger Месяц назад

    Awesome video Nick, thanks

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

    Thank you for the video. How do we set access token as header for url which needs authentication to load image? the way we were doing in UIKit is returning 401 error?

  • @acmcj
    @acmcj 10 месяцев назад

    Amazing video as always. Would you use this package if you’re downloading images from Firebase/Firestore?

    • @SwiftfulThinking
      @SwiftfulThinking  10 месяцев назад

      Absolutely, just need the url from where it’s saved in Storage

    • @acmcj
      @acmcj 10 месяцев назад

      Thanks Nick. Will try it out. Assumed there would be security/access constraints to accessing those images using one of these packages. Thank you

    • @SwiftfulThinking
      @SwiftfulThinking  10 месяцев назад

      @@acmcj It depends on your Storage security rules. If the url is public there is no problem

    • @SwiftfulThinking
      @SwiftfulThinking  10 месяцев назад +1

      Otherwise I think you can use the Firebase API to get the image url first

    • @acmcj
      @acmcj 10 месяцев назад

      @@SwiftfulThinking yeah thought so. So really should only use these packages for public images like profile pics etc. User stored images that would be behind security rules would need to do it “manually/traditional” like you’ve shown in your other videos. Thanks.

  • @hackenbacker
    @hackenbacker 10 месяцев назад

    Why did you choose SDWebImage over Kingfisher ?
    (Sorry. I didn't hear that. 3:09)

    • @SwiftfulThinking
      @SwiftfulThinking  10 месяцев назад +3

      SDWebImage seems easier to use and more performant. However, the next video is Kingfisher 😂

    • @Designguidetv
      @Designguidetv 10 месяцев назад +1

      @@SwiftfulThinking it will be interesting to see the difference

  • @govind20246
    @govind20246 10 месяцев назад

    Very informative 👏 thanks

  • @mokanoir
    @mokanoir 9 месяцев назад

    Great stuff... 👍🏻 Thank you... 😊

  • @hakobghlijyan
    @hakobghlijyan 10 месяцев назад

    Hello Nick 😊. Thanks your tutorials...
    1. How register account your site?
    2. How see playlist for Git & Source Control and SwiftUI in Practice?

    • @SwiftfulThinking
      @SwiftfulThinking  10 месяцев назад +1

      Those are coming to YT soon 👍

    • @hakobghlijyan
      @hakobghlijyan 10 месяцев назад

      @SwiftfulThinking I'll be looking forward to it. Thank you.

  • @mokanoir
    @mokanoir 9 месяцев назад

    I have tried to set the options for the cache to save to disk only:
    WebImage(url: URL(string: url), context: [.storeCacheType: SDImageCacheType.disk]) { image in...
    But when the app starts on the simulator, it crashes. Is there another way to disable the cache to memory so that the cash only stored on the disk?

  • @MuhammadHuzaifa-t2s
    @MuhammadHuzaifa-t2s 10 месяцев назад

    Which macbook do you have?

  • @itsayan1616
    @itsayan1616 10 месяцев назад

    👏🙌

  • @hackenbacker
    @hackenbacker 10 месяцев назад

    SDWebImageSwiftUI has been updated to v3.0.0.
    I think the code has to be modified a bit. 🤔

  • @AdamTabiev
    @AdamTabiev 10 месяцев назад

    🤯🤯

  • @911gogogo
    @911gogogo 10 месяцев назад

    Thanks Nick! BTW Can We have visionPro content please?

    • @natgenesis5038
      @natgenesis5038 10 месяцев назад +1

      It’s not important to learn visionPro because it’s too expensive to buy it ,so you will have very poor audience .

    • @ProgramJerol
      @ProgramJerol 10 месяцев назад +1

      give visionOS 2/3 years. It still is early and your audience is very limited.

  • @AlbertAsadov
    @AlbertAsadov 10 месяцев назад

    thanks Nick! Please do bootcamp for UIKit !)