SkillAgentSearch skills...

Uitableviewdataflowtutorial

A tutorial on using view models to drive UITableView's without having to manage IndexPath's

Install / Use

/learn @aduuub/Uitableviewdataflowtutorial
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Overview

How many times have you had to deal with the hassles of manually tracking IndexPath's for a UITableView? Or had an IndexPath related crash?

This is the final code from a medium tutorial https://medium.com/better-programming/how-to-never-have-to-track-a-uitableviews-indexpath-ever-again-a727be52003a on using view models to drive the data flow for UITableView's in iOS. It will walk you through how you can offload all of the manual index tracking of UITableView's and purely drive the data including animations and reloads from simple view models. This allows you to get animations like the following for free.

Deleting a cell with animation

Sample code preview

Inserting a cell

Inserting a cell with animation

Deleting a cell

Deleting a cell with animation

Stuck or have questions?

Reach out to me on Twitter @adam_wareing1

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated6y ago
Forks1

Languages

Swift

Security Score

55/100

Audited on Apr 1, 2020

No findings