Async Image Loading

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

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

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

    oh my Goddd I've been seeking this problem for a half year. Thank you so much. Your way is way better than any other stack flow people

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

      I'm super happy it helped you Dowon 👊🏻😊

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

    Hey,Man, i just begin an internship for swift for 2 weeks.I spent one day late to make the assignment because i needed to load the images async.I am just beginner in this language and i dont know much about it.Thanks man.It really did help me what you did here and the explications were golden too

  • @MaheshBABU-fx9zz
    @MaheshBABU-fx9zz 5 лет назад +1

    It was a awesome explanationMartin thanks for this I was really looking for this

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

    Awesome video learned a lot, one quick question for you. one image store in cache file if I run app again then it will store again or will be there?

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

    this is gold content Martin, ty so much !

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

    Oh my god!! This is so exciting- I love this tutorial! Keep it up!

  • @谢雨潇
    @谢雨潇 Год назад

    You are the hero Martin! 99% iOS-domain interview will question "how to do async image loading in TableView", but few RUclipsrs touch the key of race condition / what the dequeueReusableCell really is.

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

    Great stuff man! I'm an experienced iOS developer and learned a lot from your videos! Thanks so much! I would love to watch a Unit Test series as well... Cheers from Brazil!

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

    This is the only tutorial that addresses this issue. Thank you, Great Job!!!!!!

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

      Hey Kwaku, I'm happy it helped!! Thanks for commenting :D!

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

    Good post , you saved my time

  • @АнтонВячеславов-к3с
    @АнтонВячеславов-к3с 4 года назад +1

    amazing and so simple!
    I like it!

  • @JayWavy-me5pq
    @JayWavy-me5pq 4 года назад +1

    This was a great tutorial, literally saved my life. Thanks so much

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

      I'm happy to hear it had such a huge impact 👊🏻😊! You are very welcome!

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

    I'm so glad I came across your guide. Thansk!

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

    Hello Thanks for your tutorial, I followed your steps in a project but I got Error "unable to determine interface type without an established connection" when canceling the task. me app keeps changing the last cell of the tableview.could you help me. ?

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

    This kind of behaviour is already paginated? I mean we are downloading only the images that are on the screen, or there are some other requests happening for stuff that is not showing yet at the same time.

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

      We’re only downloading images that are on screen and are cancelling anything off screen 🙂!

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

    Would love to give you ten thumbs up for this tutorial. Great job!

  • @nathanfallet
    @nathanfallet 5 лет назад

    Hi mate, again a great video! Great and optimized way to implement image loading, it helped me to correct the little bug in mine. As I already said, keep it up!

    • @martinlasek
      @martinlasek  5 лет назад

      Hey Mate, that’s awesome! I‘m happy to hear it helped solving a bug 🙌🏻✨

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

    Great video!!!

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

    This tutorial is pretty amazing and the fact you have some swift shirts I am gonna order from you :) Also I'm assuming these techniques can also be applied to CollectionView since the API is rather similar?

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

    Rock!

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

    Thank you, your guide is very useful

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

    Hi Martin, awesome work. I'm following you for couple years. Just a question regarding the networking code in the ImageView, would not be better placing all that logic out of the View layer? I mean, if you follow the MVC principles I guess the View should not have this responsibilities and should be better to create a network controller or something like that? Thanks. P.S: I miss your live coding YT videos 😁

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

      Hey I totally agree with you. The ImageView could still have a loadImage function but the request implementation could go into an own (Network) struct 👊🏻😊

  • @tbm5k
    @tbm5k 5 лет назад +1

    Hey, Martin. I just subbed to your channel coz I love your content though I do java and web dev

    • @martinlasek
      @martinlasek  5 лет назад +1

      Ahw! That‘s so kind of you! I really appreciate your support Mate 👊🏻😊!!

    • @tbm5k
      @tbm5k 5 лет назад

      @@martinlasek You're welcome

  • @JunaidKhan-ny8tu
    @JunaidKhan-ny8tu 5 лет назад

    Awesome bro

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

    I get why you’re forcing @ var task: URLSessionTask but isn’t this very bad practice? Is there a way to implement it without forcing with “!” ?

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

      Agreed! This can be improved 😊!

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

    dam your a great Man ! , this Topic was my HeadAche from last 2 days and you solve problem just in 27 minutes , thankyou so much body ,, I have a another is with tonic MVVM conplete Concept can you make a vedio with project like that on MVVM ?

  • @maxs.6743
    @maxs.6743 5 лет назад

    Neues Video bitte

    • @martinlasek
      @martinlasek  5 лет назад

      Hahah soon my friend, soon 👊🏻😄

  • @JunaidKhan-ny8tu
    @JunaidKhan-ny8tu 5 лет назад

    Found another good code explanor

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

    Easy to understand (y)

  • @mkhasson97
    @mkhasson97 5 лет назад

    1st 😎✌🏻️

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

    This is the shit.