ViewController-for-Framer icon indicating copy to clipboard operation
ViewController-for-Framer copied to clipboard

Is it possible to preallocate layers/screens to ViewController?

Open zeluspudding opened this issue 7 years ago • 0 comments

Nice work on ViewController, Andreas! The module makes stitching together scene transitions a breeze.

I've got a problem: framer slows down/animations lag the first time I add new layers to a new view. the lag isn't so bad the first couple times I call my.layerView.onClick -> Views.slideInLeft(myOther.layerView) (which then adds myOther.layerView as a child to Views. However, things get noticably slow after I do that the third or fourth+ time. I suspect the lag is due to ViewController changing parent-child relationships every time I call my.layerView.onClick -> Views.slideInLeft(myOther.layerView).

Is there a way to preallocate views to ViewController such that all those layers don't have to switch to the View parent on the fly?.. or perhaps you have other tips for speeding up those view switch animations?

zeluspudding avatar Mar 22 '17 22:03 zeluspudding