Skip to content
This repository has been archived by the owner on Apr 6, 2022. It is now read-only.
/ MauriUtils Public archive

Helper library of common Swift's utility wrappers

License

Notifications You must be signed in to change notification settings

mchirino89/MauriUtils

Repository files navigation

Swift GitHub license Twitter

MauriUtils

This helper library includes some of the most basic and used commonly written features in everyday Swift development such as:

  • JSON/PlistDecodable: structs that handle JSON's decoding data (Decodable compliant models). Worry only about passing in its Type and decoding strategy (only if you wish to for the later one, otherwise a .default will be implemented for you)

  • FileReader: read locally stored files within your project or inside the app's bundle with handy struct.

  • Several Array/Sequence helper methods such as .generateRandomElements(arraySize: Int), .average, numberOfOccurrences(of inputTarget: Element) and more!

Feel free to submit your pull requests and I'll happily check them. Thanks!