AugustRush / Stellar

A fantastic Physical animation library for swift
MIT License
2.94k stars 231 forks source link

Using makeAlpha on 0.66 generates crash #21

Open ShaharHD opened 7 years ago

ShaharHD commented 7 years ago

Using makeAlpha of 0.66 generates the Unsupport this animation type! (btw, Unsupport is not word ... Do not support this animation type! is better)

Reverting back to 0.65 fixed the issue by using the following in the Podfile pod 'Stellar', :git => 'https://github.com/AugustRush/Stellar', :commit => '5249167900b1eb136ce71543af7817a9fa5535cb'

AugustRush commented 7 years ago

sorry,but i have fixed this issue, you can check this commit https://github.com/AugustRush/Stellar/commit/7b1c9e5380d4c14e46755611d3794b10c273d504.

ShaharHD commented 7 years ago

This is how I'm getting the error with 0.66

@IBOutlet weak var imageSplashBackground: UIImageView!

self.imageSplashBackground.makeAlpha(0).duration(0.2)
            .completion() { self.imageSplashBackground.isHidden = true }
            .animate()