So Apple ditched delegates in favor of handlers that are defined as a struct with optional closures in Swift. This is a new API introduced on UICollectionViewDiffableDataSource in iOS 14.
Senior iOS Developer at Atlassian (previously @Babbel & @Onefootball in Berlin 🇩🇪) • Swift & iOS and Mac enthusiast with interest in Flutter & .NET


