Adam Waite

Results 25 comments of Adam Waite

Hi guys I'll look into this when I get a bit of spare time. I haven't had chance to run the lib on Xcode 11 yet.

~~Make the ValidationResult a monoid and follow functional programming conventions over those dodgy merge style methods.~~ Can't transform empty values in the validation enum.

TODO: - [ ] Eliminate that horrible Objective-C run time stuff (fixing #78 in the process) - [ ] Fix #113 - [ ] Travis - [ ] swift-package

Oops! No that definitely isn't intentional. Do you mind sharing your example so I can attempt to fix it?

That's cool! I've actually been thinking to remove all that Obj-C runtime madness. Not sure what I was thinking when I wrote that originally.

I can't think of a nice solution for this!

Yeah, I'm seeing this too. Looking into it now.

I've figured it out: The implementation of `UIImagePickerControllerDelegate`'s `imagePickerController: didFinishPickingMediaWithInfo:` looks like this: ``` - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info { self.field.value = info[UIImagePickerControllerEditedImage] ?: info[UIImagePickerControllerOriginalImage]; [picker dismissViewControllerAnimated:YES completion:NULL]; if (self.field.action)...

You need to `import GzipSwift` I think.

Thanks! I appreciate the hard work that must have gone into this.