Because Swift’s compiler has to investigate each type before it can continue compiling…
SequenceType and CollectionType have a cool property named lazy. lazy is defined by Apple as: “A sequence…
SequenceType
CollectionType
lazy
If you’ve been in iOS development for any amount of time, you’ve come across large init and…
init
We deal with collections of data every day, whether they are dictionaries…
Early exits help reduce nesting and clearly signal what the desired and possible outcomes are. The important…
Within the context of your app, it can be helpful to think of everything that provides information or…
We recently had a conversation in our developer channel on Slack about our favorite Xcode keyboard shortcuts…