evgenyneu / Cosmos

A star rating control for iOS/tvOS written in Swift
MIT License
2.18k stars 367 forks source link

Stars values not updating on touch #109

Closed IOSDevelopereHere closed 6 years ago

IOSDevelopereHere commented 6 years ago

Please consider submitting the following information (if relevant):

stars_honesty.didFinishTouchingCosmos = sethonesty //// written in viewdidload

func sethonesty(_ rating: Double) { honesty = rating stars_honesty.rating = rating }

done all but still sethonesty func dont runs... Need help

evgenyneu commented 6 years ago

Hi @IOSDevelopereHere, have a look at how the touch events are reported in the demo app here, you can try mimicking this in your app as well. Let me know if it works for you.

evgenyneu commented 6 years ago

Closing the issue. Feel free to reopen if needed.