Some tips about coding in swift efficiently and elegantly
Jan 21, 2020
This playground file has some tips about how to write funny swift which saves your time and fingers.
Implementing throwing protocol functions as non-throwing
Jan 05, 2020
In Swift, it’s possible to satisfy a throwing function protocol requirement using a non-throwing function, which can be very useful in certain situations.
Using key paths in switch statements
One of Swift’s lesser known, but incredibly powerful language features is how the ~= operator lets us implement custom pattern matching variants between different types.
©2020 Swift Awesome.