alskipp / ASValueTrackingSlider

A UISlider subclass that displays the slider value in a popup view
MIT License
1.84k stars 235 forks source link

Compiler warning on Xcode 8 GM + fix #54

Closed koenvanderdrift closed 7 years ago

koenvanderdrift commented 7 years ago

I got the following compiler warning on Xcode 8:

/ASValueTrackingSlider/ASValueTrackingSlider/ASValuePopUpView.m:157:24: Assigning to 'id<CAAnimationDelegate> _Nullable' from incompatible type 'ASValuePopUpView *const __strong'

I fixed it as follows:

@interface ASValuePopUpView : UIView <CAAnimationDelegate>

Tried to push it using git, but kept getting permission errors, so I am posting it here.

Cheers

alskipp commented 7 years ago

Thanks for flagging the issue. The latest release (0.12.1) should resolve this.