Modern Cell Configuration in iOS 14 (Swift 5, Xcode 12, 2020) - iOS Development

  Рет қаралды 7,198

iOS Academy

iOS Academy

Күн бұрын

In this video we will learn how to configure our tableview and collection view cells in the new modern way introduced in WWDC 2020. We will be working in iOS 14, Swift 5, and Xcode 12. Modern cell configuration takes the notion of MVVM to the next level.
#swift #customCells #iOSDeveloper
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

Пікірлер: 29
@johnnykwon3999
@johnnykwon3999 3 жыл бұрын
yo i see u uploading so often. super helpful but don't overdo it man. hope ure getting sufficient rest in between uploads
@patrickrowekamp103
@patrickrowekamp103 3 жыл бұрын
Thank your for this. But how can I Add text or images dynamically in the cellForRowAt IndexPath Function? All I try didn't work and my App shows me only the default text.
@temokaxniashvili2375
@temokaxniashvili2375 3 жыл бұрын
Thanks a lot 👏🏻👏🏻❤️❤️‼️
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome
@dev_jeongdaeri
@dev_jeongdaeri 3 жыл бұрын
This is what I’m waiting for!
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Glad to hear it!
@craigswanson410
@craigswanson410 3 жыл бұрын
Your videos are great and very useful, thank you! Suggestion/request for a future topic: using diffable data source.
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Thanks! And added that to my list
@harshverma7037
@harshverma7037 3 жыл бұрын
Still waiting for the instagram series to continue
@iOSAcademy
@iOSAcademy 3 жыл бұрын
It will come, just building up anticipation haha
@harshverma7037
@harshverma7037 3 жыл бұрын
@@iOSAcademy Can you please make a quick tutorial on RSA decryption with public key without cocoapods please. I really need it.
@shawnfrank5303
@shawnfrank5303 3 жыл бұрын
Another great tutorial. Two questions if I may: 1 - The content at the end of the day such as text / images for each row will still need to be set at cellForRowAtIndexPath - these are just default configurations for different states ? 2 - One thing that I notice you do a lot is the computer property initialization like you did for the tableview here, is there any reason or benefit from doing this or it's just a personal choice ?
@tranminhhaifet
@tranminhhaifet 3 жыл бұрын
Also like the music from beginning, what is it? Thank you for great teaching
@kimdaegyum
@kimdaegyum 3 жыл бұрын
Thanks man! Have you done a context menu tutorial?
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Youre welcome. I have not but added to my list
@obtusei
@obtusei 3 жыл бұрын
How I can create tap-able button on that "configurable" cell?
@kennygabbara
@kennygabbara 3 жыл бұрын
Is it possible to use modern cell config with a custom cell? If so is there any resources you can recommend?
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Yes, you use it the same way
@simply6162
@simply6162 2 жыл бұрын
how daqfaq do I get access to that text label now?!!!!! someone pls help. I can even print its text label outside the function anymore
@LEKYSMA
@LEKYSMA 3 жыл бұрын
usually I would handle all the changes in the table view cell in "didSelectRow". with this new approach, has it become irrelevant ?
@iOSAcademy
@iOSAcademy 3 жыл бұрын
No, that function still exists
@maneadumitru7915
@maneadumitru7915 3 жыл бұрын
"updateConfiguration" is better. When you for example are changing background color for specific cell, after you scroll you will see more cells with that background color (because it reuses cells, as functions says dequeueReusableCell). So normally you have to check indexPath.row and handle some states and it can become very heavy to solve with a lot redundant code in view controller. updateConfiguration is doing everything for you, working as expected as everyone thinks before encountering this error with "didSelectRow".
@nurlanakylbekov7266
@nurlanakylbekov7266 3 жыл бұрын
06:30 cell.defaultConfiguration() - is only available with Xcode12🤔
@iOSAcademy
@iOSAcademy 3 жыл бұрын
Yes, bc this was introduced for ios 14
@nurlanakylbekov7266
@nurlanakylbekov7266 3 жыл бұрын
@@iOSAcademy thank you iOS Academy. Few days ago I was following tutorial about creating DiffableDataSourse CollectionView with section and snapshot. If I show you my code could you please help me with creating Hashable Section. So I can apply multiple Model.class. () how can I apply SecondModelClass?
@birdman4274
@birdman4274 3 жыл бұрын
Can you go out and buy a decent microphone ! You sound like you are talking from the boot of a car
@rhythm6738
@rhythm6738 3 жыл бұрын
Maybe you should buy another phone, the audio is fine
@birdman4274
@birdman4274 3 жыл бұрын
@@rhythm6738 Who said I'm on a phone? I really hope you are not a software developer with a dumb ass assumption like that! Ya MUPPET
@TheBooban
@TheBooban 3 жыл бұрын
I think thats just how he sounds
Diffable Data Source (Swift 5, Xcode 12, TableView) - iOS 2020
16:54
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 128 МЛН
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 95 МЛН
Scary Teacher 3D Nick Troll Squid Game in Brush Teeth White or Black Challenge #shorts
00:47
Samsung Z Flip/Fold 6, Watch Ultra, Buds Pro and Ring Impressions!
11:02
Marques Brownlee
Рет қаралды 2,6 МЛН
DatePicker in Swift iOS 14
8:34
iOS Shiga
Рет қаралды 16 М.
How to stop saying Um and Ah - easy fix
3:10
Success Leaves A Trail ®
Рет қаралды 145 М.
I wish I could change THIS fast! 🤣
00:33
America's Got Talent
Рет қаралды 128 МЛН