FFDataWrapper
FFDataWrapper is a struct which wraps a piece of data and provides some custom internal representation for it. Conversions between original and internal representations can be specified with encoder and decoder closures.
How to Install
Cocoapods
To use with cocoapods, add the following line to your Podfile:
pod 'FFDataWrapper', '~> 2.2'
Carthage
To use with Carthage, add the following line to your Cartfile:
github "flockoffiles/FFDataWrapper" ~> 2.2
How to Use
See FFDataWrapper.swift and FFDataWrapper+Initialization.swift for possible initializers.