Swift snippets 🚀

It’s an initiative to share swifty snippets that leverages the great power of Swift 🤘 It will be around extensions, protocols, generics, functional programming, closures etc. I’ll also add few lines about it explaining it’s use and why it’s super cool 😎

If you think you have a swifty snippet too and want to share with everyone then submit your post on swift-snippet publication and I’ll add it as guest post :)

Guest posts so far..
Swift snippet #12 — Using standard library names for your types ~ John
Here’s the list of most recent snippets so far..
Swift snippet #11 — RawRepresentable
Swift snippet #10 — remove(d)
Swift snippet #9— then
Swift snippet #8 — Collection
Swift snippet #7 — Optional?
Swift snippet #6 — Bool??
Swift snippet #5 — Generic Typealias
Swift snippet #4 — Describable protocol
Swift snippet #3 — @IBInspectable
Swift snippet #2 — Generic UITableView dequeue cell
Swift snippet #1 — preferredStatusBarStyle

🚀