Expose specific curve information on UISpringTimingParameters

Originator:keithbsmiley
Number:rdar://34099697 Date Originated:26-Aug-2017 19:52
Status:Open Resolved:
Product:iOS + SDK Product Version:Xcode 9 beta 6
Classification:UI/Usability Reproducible:Always
 
Summary:
Currently if you create a `UISpringTimingParameters` animation for use with `UIViewPropertyAnimator`, and then want to create a `CASpringAnimation` that follows the same curve, there is no way to access the curve information.

Steps to Reproduce:
1. Create a `UISpringTimingParameters` with a explicit `dampingRatio`
2. Try and read that `dampingRatio`

Expected Results:
You can call `dampingRatio` on the `UISpringTimingParameters` instance

Actual Results:
`dampingRatio` is a private function on `UISpringTimingParameters`, along with other functions / properties for other curve information

Version:
Xcode 9 beta 6

Notes:
See the attached project for an example

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!