hsousa / HCSStarRatingView

Simple star rating view for iOS written in Objective-C
MIT License
1.28k stars 194 forks source link

Fill from right to left #64

Open iCtz opened 6 years ago

iCtz commented 6 years ago

hey is there a way to make it fill the stars from the other direction ( from right to left)???

hsousa commented 6 years ago

Not right now, sorry. But this is definitely something I plan on supporting when I have a bit of time to give this project some real love again 🤞

adelbios commented 5 years ago

@iCtz @hsousa
one line of code solve this but in you'er library check semantic of app if right to left, then make transformation for HCSStarRatingView

that's my solution Objective-c self.rateView.transform = CGAffineTransformMakeScale(-1.0, 1.0); swift self.collectionView.transform = CGAffineTransform(scaleX: -1.0, y: 1.0)