Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Update layer properties when using Rebel animator proxies #8

Open
jspahrsummers opened this issue Sep 14, 2012 · 0 comments
Open

Update layer properties when using Rebel animator proxies #8

jspahrsummers opened this issue Sep 14, 2012 · 0 comments

Comments

@jspahrsummers
Copy link
Contributor

When setting view properties on an AppKit animator proxy, those changes are not reflected on the view or the proxy until the animation completes. This is a huge defect, because it becomes extremely hard to write layout code that works whether an animation is in progress or not.

Rebel's animator proxies could solve this by writing the corresponding layer properties after using the AppKit proxy, since the layer will update immediately to reflect the change. Similarly, using a proxy to read properties could check the layer for in-progress changes.

An example of this sort of pattern exists in the GHfM diff view implementation.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant