manishkkatoch / SimpleTwoWayBindingIOS

An ultra light, ultra simple two way binding library for IOS and Swift.
MIT License
166 stars 49 forks source link

What about UIImageView for example? #3

Open paulkugaev opened 6 years ago

dcristolovean commented 6 years ago

I started from this Binding and simply added a new class for the UIImageVIew and binding works nicely. Even if the image view loads from an URL. Just follow the example of the TextField/View.

manishkkatoch commented 6 years ago

excellent. @dcristolovean it will be great if you can raise a PR to merge this back here.

khunshan commented 6 years ago

A quick workaround would be to bind a string var. On its didset you can populate image with the image name or url passed to it.