add swift implementation

Swift!
Signed-off-by: Andre Dublin <81dublin@gmail.com>
I wouldn't give an underlying value because it seems more verbose than necessary. You can do everything you've done without defining a type here, right?