Diffable Data Source (Swift 5, Xcode 12, TableView) - iOS 2020

  Рет қаралды 16,549

iOS Academy

iOS Academy

3 жыл бұрын

In this video we will learn how how to create and use Diffable Data Sources on your table views and collection views. Diffable data sources are simple yet powerful ways to update your UI with your model data. They are the modern ways to configure tables and collections on iOS. Supported as of iOS 13, lets get into it. We will be working in Swift 5 and Xcode 12
💻 Source Code: / iosacademy
🎥 Subscribe for more: kzfaq.info?su...
😎 Like my teaching style? Check out some of my most popular courses! courses.iosacademy.io
Apple Docs: developer.apple.com/documenta...
#swift #tableView #datasource
Join this channel to get access to perks, code, groups, and more:
/ @iosacademy
Join the iOS Academy Community: iosacademy.io/
** Get Skillshare free for 2 Months and learn iOS
www.skillshare.com/r/user/afraz
** Manage all your investments from app earnings on Betterment!
bit.ly/3eBwlI9
** Grow your own KZfaq tech channel with TubeBuddy:
www.tubebuddy.com/iosacademy

Пікірлер: 31
@craigswanson410
@craigswanson410 3 жыл бұрын
Great! Thank you so much for taking the time to make this. I appreciate your commitment to the community!!
@glennadams7047
@glennadams7047 3 жыл бұрын
This is best tutorial on DDS I've found so far. Nice work. Thanks
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome!
@111AlexF
@111AlexF Жыл бұрын
Thank you very much from 2023)))
@iOSAcademy
@iOSAcademy Жыл бұрын
Thank you too!
@liangyanyang2091
@liangyanyang2091 3 жыл бұрын
Can you make videos on design patterns ?
@noamif
@noamif 3 жыл бұрын
Super cool, thanks!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome
@filippopassante1535
@filippopassante1535 2 ай бұрын
The video shows an approach that is not recommended by Apple, that of storing the model objects in the data source: "Diffable data source is built to store identifiers of items in your model, and not the model objects themselves.", from the “Make blazing fast lists and collection views” WWDC video, about 2 minutes in. Although to be fair I can remember Apple doing this as well in some demos, like when they first introduced diffable data sources
@TCakes
@TCakes 3 жыл бұрын
Good content! The sound is a bit muffled in this video though
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks for the feedback
@sdmf195
@sdmf195 Жыл бұрын
Thank you!!!
@iOSAcademy
@iOSAcademy Жыл бұрын
You're welcome!
@Jarg555
@Jarg555 3 жыл бұрын
Ah this is the good stuff
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks, make sure to like and subscribe
@GabrielAndrade-db6we
@GabrielAndrade-db6we Жыл бұрын
Great video bro!
@iOSAcademy
@iOSAcademy Жыл бұрын
Appreciate it!
@joakimhellgren3801
@joakimhellgren3801 3 жыл бұрын
Thanks for this, it’s super helpful. However - Now I’d like to know how to implement image caching and lazy loading with a diffable data source. 🥺
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks! On my list
@TO-ck5vh
@TO-ck5vh 3 жыл бұрын
Thank you for the video sir. I want you to continue the lecture of Instagram App.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome
@botimusprime2229
@botimusprime2229 Жыл бұрын
I have a list of the names of all 50 states in a .txt file. How can I use the plus button in the same way to pick from the list of states?
@fuxxx83
@fuxxx83 3 жыл бұрын
Make a Fruit a Protocol and have some Apple, Oranges Structs implementing Fruit. Now how do you set up the DataSource?
@victorriurean
@victorriurean 2 жыл бұрын
🔥🔥🔥
@iOSAcademy
@iOSAcademy 2 жыл бұрын
Thanks
@mzain823
@mzain823 2 жыл бұрын
There is one serious problem I have noticed here. It's that swipe to delete doesn't work. How do we fix it?
@mrvfino
@mrvfino 6 ай бұрын
Thanks! I'm currently migrating our old tableview file templates to this modern API and it's very helpful!
@iOSAcademy
@iOSAcademy 6 ай бұрын
Glad it was helpful!
Prefetching with TableViews (2022) - iOS
16:35
iOS Academy
Рет қаралды 18 М.
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 136 МЛН
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 46 МЛН
Diffable Data Source | Swift 5, Xcode 11
18:39
Kilo Loco
Рет қаралды 13 М.
Swift Infinite Scroll Tutorial (2023) - iOS
20:58
iOS Academy
Рет қаралды 9 М.
ЗАБУДЬ про DATASOURCE
44:57
Сергей Горбачёв / cmd+B, cmd+R
Рет қаралды 2,4 М.
Advanced Table View in Swift 5 (Xcode 11, 2020) - iOS Beginners
41:04
Wait for the last one! 👀
00:28
Josh Horton
Рет қаралды 136 МЛН