Swift Generics by example: Grouping UITableView cells into sections from starting dictionary Watch Video
Preview(s):
Gallery
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)
⏲ Duration: 12 min 68 sec ✓ Published: 20-Jul-2018
Description: Starting with a plain UITableViewController, we’ll use the Dictionary(grouping:by:) API that was added in Xcode 10 to group the rows into sections. Then the code is refactored to a generic type - if you’ve not written generic types before, this will serve as an introduction on how to create generic types for abstracting common tasks while writing UIKit code.nnhttps://www.ralfebert.de/ios-examples/uikit/uitableviewcontroller/grouping-sections/
Play Video: (Note: The default playback of the video is HD VERSION. If your browser is buffering the video slowly, please play the REGULAR MP4 VERSION or Open The Video below for better experience. Thank you!)