What does this implement/fix? Explain your changes.
When adjusting the left and right stack view width constraints, while I liked having them animated, I felt like there needed to be a way to run other animations concurrently.
One example would be changing the alpha component of the stack view items as they are compressed so they don't appear small in the end.
Because of this, I added a simple optional closure which, if specified, is called while animating to also animate the given properties.
Does this close any currently open issues?
Not that I am aware of.
Any relevant logs, error output, etc?
Any other comments?
The name of the closure variable and the comments can and maybe should be renamed if someone has a better idea.
What does this implement/fix? Explain your changes.
When adjusting the left and right stack view width constraints, while I liked having them animated, I felt like there needed to be a way to run other animations concurrently.
One example would be changing the alpha component of the stack view items as they are compressed so they don't appear small in the end.
Because of this, I added a simple optional closure which, if specified, is called while animating to also animate the given properties.
Does this close any currently open issues?
Not that I am aware of.
Any relevant logs, error output, etc?
Any other comments?
The name of the closure variable and the comments can and maybe should be renamed if someone has a better idea.
Where has this been tested?
Devices/Simulators: … iPhone XR Device, iPhone 11, 11 Pro, 12, 12 Pro Simulators iOS Version: … 15.0 Swift Version: … 5.0 InputBarAccessoryView Version: … 5.4