This helper library includes some of the most basic and used commonly written features in everyday Swift development such as:
JSONDecodable: implement this protocol in order to transform JSON's data Decodable compliant models and worry only about passing in its Type and decoding strategy (only if you wish to for the later one, otherwise a
.defaultwill be implemented for you)
JSONHelper: read locally stored files within your project or inside the app's bundle with this factory class.
And more: deque your
UICollectionViewin a typesafe way. Avoid the guard-let-else dance altogether or even worse: the infamaus force casting !
Array/Sequencehelper methods such as
numberOfOccurrences(of inputTarget: Element)and more!
Feel free to submit your pull requests and I'll happily check them. Thanks!