On Nov 11, 2019, at 9:46 AM, David Duncan wrote:
>
>> On Nov 9, 2019, at 12:09 PM, Carl Hoefs via Cocoa-dev
>> wrote:
>>
>> I'm trying to keep some older iOS code going, but I'm getting a deprecation
>> warning on many UIView class methods:
>>
>> +beginAnimations:context:
>>
> On Nov 9, 2019, at 12:09 PM, Carl Hoefs via Cocoa-dev
> wrote:
>
> I'm trying to keep some older iOS code going, but I'm getting a deprecation
> warning on many UIView class methods:
>
> +beginAnimations:context:
> +setAnimationBeginsFromCurrentState:
> +setAnimationDuration:
>
> What is this 'block-based animation API’?\
The section of the doc named Animating Views starts with: Use of these methods
is discouraged. Use the UIViewPropertyAnimator class to perform animations
instead.
I’d start looking there.
___
Cocoa-dev
I'm trying to keep some older iOS code going, but I'm getting a deprecation
warning on many UIView class methods:
+beginAnimations:context:
+setAnimationBeginsFromCurrentState:
+setAnimationDuration:
+commitAnimations
etc.
Xcode 11.2.1 says: "'beginAnimations:context:' is deprecated: first