Ramotion / animated-tab-bar

:octocat: RAMAnimatedTabBarController is a Swift UI module library for adding animation to iOS tabbar items and icons. iOS library made by @Ramotion
https://www.ramotion.com/animated-tab-bar-ios-app-development-ui-library/
MIT License
11.13k stars 1.33k forks source link

Type 'CAAnimationCalculationMode' (aka 'NSString') has no member 'cubic' #240

Closed wawilliams003 closed 5 years ago

wawilliams003 commented 6 years ago

Hi, thanks for this wonderful library. Since I updated Xcode to the current Xcode 10 I am getting some errors. I am using swift 4.

ERRORS: Type 'CAMediaTimingFillMode' (aka 'NSString') has no member 'removed' Type 'CAAnimationCalculationMode' (aka 'NSString') has no member 'cub

I am using the latest version of the framework, thank you!

beamercola commented 6 years ago

Any luck with this?

wawilliams003 commented 6 years ago

Any luck with this?

Try updating pods, or remove and install framework did it for me.

reshmaraghu commented 6 years ago

Updated the pods... My project still seems to have the issue... :(

arshadsk5 commented 5 years ago

I am using Swift 4.2, xcode 10. even i am getting same problem, any help please

0ber commented 5 years ago

works on swift 5.0, Xcode 10.2 check my demo https://github.com/0ber/AnimatedTabBar-Pod-Test

SBlincov commented 5 years ago

Use: kCAFillModeRemoved instead CAMediaTimingFillMode.removed and kCAAnimationCubic instead CAAnimationCalculationMode.cubic