Prefetching with TableViews (2022) - iOS

Sdílet
Vložit
  • čas přidán 26. 08. 2024
  • In today's video we will learn how to prefetch data with table views to maximize performance and decrease loading times. We will work with a real world scenario in Xcode using swift. The prefetching datasource is provided by Apple specifically for this purpose - allow you to create snappy experiences.
    💻 Source Code: / iosacademy
    🎥 Subscribe for more: www.youtube.co...
    😎 Like my teaching style? Check out some of my most popular courses! courses.iosaca...
    👉🏼 Connect (personal LinkedIn) / afrazsiddiqui
    🚀 Follow on LinkedIn / ios-academy
    ** Popular Series
    Building Instagram: courses.iosaca...
    Building TikTok: / @iosacademy
    SwiftUI for Beginners: ios-academy.te...
    ** Get Skillshare free for 2 Months and learn iOS
    www.skillshare...
    ** Manage all your investments from app earnings on Betterment!
    bit.ly/3eBwlI9
    ** Grow your own CZcams tech channel with TubeBuddy:
    www.tubebuddy....
    #swift #prefetching #performance

Komentáře • 46

  • @iOSAcademy
    @iOSAcademy  Před 2 lety +2

    Interested in iOS? Lets connect linkedin.com/in/afrazsiddiqui

  • @GavinRyder
    @GavinRyder Před 2 lety +11

    Thanks so much for these tutorials man, just got an internship at Apple in part thanks to what I learned from these videos! Keep up the good work :)

  • @yassinmziya2733
    @yassinmziya2733 Před 2 lety +4

    This man’s upside about to be phaaat when Meta bounces back. Congrats!
    Would love to see a tech career tips kinda vid. Your perspective as a staff eng would be awesome to hear

    • @iOSAcademy
      @iOSAcademy  Před 2 lety

      😂😂 smart man. I plan to do a bunch of career videos.

  • @captainmichaelj2321
    @captainmichaelj2321 Před 2 lety

    Always love the quality of videos and content that he is posting. He has became my Number 1 iOS tutor, whose style and practice I try to learn and imitate.

  • @hiba60164
    @hiba60164 Před 2 lety +2

    My trainer give me a simple task .
    To delete a row in table view without delete function.
    But by updating the height of the row using a Boolean value.
    I know it's simple ....but was not able to do today.
    Will make it tomarrow.
    Love from Kerala, India.

  • @basoahmad7516
    @basoahmad7516 Před 2 lety +3

    Congratulations for your new journey in Meta. Alhamdulillah

  • @wonderguy103
    @wonderguy103 Před 2 lety +2

    Congratulations for got a meta job man. 🧨🧨🧨

  • @AyhanHakanTekin
    @AyhanHakanTekin Před 2 lety

    king, when you start working meta you get many ideas for videos 😂 have a good work in meta :))

  • @waheedafolabi6929
    @waheedafolabi6929 Před 2 lety +1

    Thanks 🙏 for yet another eye opener. BTW congratulations 🎉🎈🎊 once again for the new role at Meta

  • @aafaqahmed2265
    @aafaqahmed2265 Před 2 lety

    Didn't watch yet, but liking the video I know it will be wonderful, I know how important pre-fetching is for good user experience.

  • @richardgomez9093
    @richardgomez9093 Před rokem

    great video keep it up thanks, Can u use this when calling images from coredata to the table view im doing it in the table view even the imges are small its really buggy

  • @gofudgeyourselves9024
    @gofudgeyourselves9024 Před 2 lety +1

    Wow i wasnt even aware about this. Thank you so much. I always used to wonder how to people do this in their apps. Does anyone know how to do this in android?

  • @nickpappas6109
    @nickpappas6109 Před 2 lety +1

    Hey there, all of your videos have been great and extremely helpful for me in my job hunting process. Thank you. Currently I am an iOS engineer with about 2 years of experience looking for a new gig, are there any particular videos/courses/resources you'd recommend?

  • @iOSProgramming
    @iOSProgramming Před 2 lety

    Please make a video of Stripe SDK

  • @swej148
    @swej148 Před 2 lety

    Nice! Right on cue for my build. Envious of those at Meta that get to work with you.

  • @joelcaetano6420
    @joelcaetano6420 Před 2 lety

    Very good. Thank you!

  • @Tenjeen
    @Tenjeen Před 2 lety

    What you didn't mention, is the caching. That's the most important part. Scrolling back and forth, being a lot more easier. Of course the cells will preload much faster, but their relod time will be even better, when were're tryig to reload older cells

  • @hoanglongnguyen8856
    @hoanglongnguyen8856 Před 2 lety

    Perfect, can you make a Just Peek 3D touch Collectionview like Instagram video tutorial please

  • @amen652
    @amen652 Před 2 lety +1

    Hey I am still a bit confused as to the purpose of using the callback. Is that because in the 'prefectRowsAt' function, you pass nil for the completion of the viewModel?

  • @honglinhnguyen96
    @honglinhnguyen96 Před 2 lety

    Thank you very much for this video tutorial. I saw in the video that you call a Non-Escaping Closure in the completion of the URLSession (which is an Escaping Closure). This is not the same as your Escaping Closure video tutorial. Is the difference here Optional closure?
    I am new and feeling a bit confused.
    I'd appreciate it if you could help explain it. Thanks a lot.

  • @MtsSakthivel
    @MtsSakthivel Před 2 lety

    How to reset data in table view while pull to refresh to avoid duplication …..

  • @TyTy-oh2wq
    @TyTy-oh2wq Před 2 lety +1

    hi! gz with Meta bro :)

  • @VadimBashurov-uj6sh
    @VadimBashurov-uj6sh Před 2 lety

    Pretty good lesson, thanks. Also there is good UA actual image in the gallery))

  • @abdulwahabkhan4316
    @abdulwahabkhan4316 Před 2 lety

    nigga you are love... i want to donate my kidneys... just tell me how should i pay you...

    • @iOSAcademy
      @iOSAcademy  Před 2 lety

      Appreciate it! Feel free to support on Patreon patreon.com/iosacademy