Use different requirements files for development and production environments
Steps to clean out the commits history of a git repository
If you use ObjC APIs that have optionals for both value and error in their callback handlers, this extension to map them into a Result type might be useful.
Use first(where:) to get the first element of the sequence that satisfies the given predicate.
Use tuples to sort Comparable objects based on multiple properties. Example: sorting contacts by surname; then by name, to see all names from the same family in a row.