manishkkatoch / SimpleTwoWayBindingIOS

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

issue on bindable func #14

Closed yildirimatcioglu closed 4 years ago

yildirimatcioglu commented 5 years ago

_self.addTarget(Selector, action: Selector{ [weak self] in self?.valueChanged() }, for: [.editingChanged, .valueChanged]) it gives "Cannot convert value of type '() -> ()?' to expected argument type 'String' " error

thinium commented 5 years ago

I ran into the same issue! You need to include the Selector magic in your project file: https://github.com/manishkkatoch/SimpleTwoWayBindingIOS/tree/master/Sources/BlockBasedSelector

manishkkatoch commented 4 years ago

I'll be closing this issue as this is not a problem if one uses Cocoapod. please re-open if this is invalid.