CooperRS / RMStepsController

This is an iOS control for guiding users through a process step-by-step
MIT License
1.04k stars 119 forks source link

fixed Xcode 8.3 warning #40

Closed NickAger closed 7 years ago

NickAger commented 7 years ago

Xcode warning fixed:

./RMStepsController/RMStepsController/RMStepsBar.m:116:37: warning:
assigning to 'id<CAAnimationDelegate> _Nullable' from incompatible type
'RMStepSeperatorView *const __strong'
        fillColorAnimation.delegate = self;
                                    ^ ~~~~
./RMStepsController/RMStepsController/RMStepsBar.m:133:37: warning:
assigning to 'id<CAAnimationDelegate> _Nullable' from incompatible type
'RMStepSeperatorView *const __strong'
        fillColorAnimation.delegate = self;
                                    ^ ~~~~
NickAger commented 7 years ago

grrr Travis is failing as CAAnimationDelegate is only defined for iOS10+ SDK, https://developer.apple.com/reference/quartzcore/caanimationdelegate

I'll see if I can make it work for all SDKs

CooperRS commented 7 years ago

Hey!

Thanks for the fixes! 🙂

Best regards, Roland