Enumerations are powerful language features that provide static typing for small set of frequently used values. They are used to make code more readable and less error-prone.
CaseIterable is a feature as when used on an enumeration, the compiler automatically generate a static collection of all the cases defined Continue reading »
Swift’s @autoclosure is a syntax sugar attribute applied to a function argument to implicitly create a closure out of a passed in argument. @autoclosure can be useful in situations where you have a sequence of conditions and you want to keep the execution of these expressions in order, Continue reading »
The data source is the heart and soul of UITableView and UICollectionView. Diffable data sources UITableViewDiffableDataSource and UICollectionViewDiffableDataSource is the declarative way to supply the structure and content of the actual data to these UIKit or AppKit components. Continue reading »