Swift snippet #4 β€” Describable protocol

Ritesh Gupta
Swift Snippets πŸš€
1 min readDec 1, 2016

Thursday, 1st December, 2016

If you simply conform your custom class with Describable protocol then you get typeName on it for free which prints its name πŸš€.

All the Swift developers who keep their cell’s reuse identifier same as their cell’s class name they can very much relate how this snippet could be useful!

If you are wondering about the inception of Swift-Snippets or want to checkout more such snippets then you can find them here 😊

--

--