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…
A well-organized project can save developers hours of frustration and lost productivity. There is no industry…
Code documentation is always a tug-of-war between the desire to write beautiful “self-documenting” code and adding…