Juanpe / SkeletonView

☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
MIT License
12.62k stars 1.12k forks source link

Adds iOS 12 Animation Class availability handling #573

Open lucasromanomr opened 5 months ago

lucasromanomr commented 5 months ago

Summary

From Xcode 16 beta 1 an error appears that the CAMediaTimingFunctionName animation is not available for versions below iOS 12, so a treatment was added for it to make it work with iOS 12

https://developer.apple.com/documentation/quartzcore/camediatimingfunctionname

issue: https://github.com/Juanpe/SkeletonView/issues/572

for versions below, animation was done using controlPoints

Requirements (place an x in each of the [ ])