Flue: Fluent API for value extraction and conversion for Swift
Flue is a Swift (3.0, as of this writing) library for extracting, validating and converting values from user input. It tries to do this with a fluent interface:
vp.extract("100").maxLength(6).regexp("1.*")!.asInt().required()
It can output readable help and error messages from your conversions. See the README for details.
Enjoy.
2 October 2016