SlidingRuler
SlidingRuler copied to clipboard
Cannot use custom styles
I'm trying to use the custom styling like this:
[...].slidingRulerStyle(BlankCenteredSlidingRulerStyle())
However, I'm getting an error:
'BlankCenteredSlidingRulerStyle' initializer is inaccessible due to 'internal' protection level
From what I can tell, if an initializer is left out, it is added as internal by default.
+1 same here
I made a fork and fixed this: https://github.com/Weixuanf/SlidingRuler just adding public init() method to custom styles, now custom styles can be used as normal