willowtreeapps / spruce-ios

Swift library for choreographing animations on the screen.
MIT License
3.44k stars 206 forks source link

Skip some views #91

Closed pballada closed 7 years ago

pballada commented 7 years ago

Hi, didn't find the way to skip some subviews from animating. Is possible somehow?

For example in a collectionview how do I skip the first row to animate?

Thanks so much, it's an awesome library by the way.

jacksontaylor13 commented 7 years ago

Hi @mixmastertube. Thanks for the kind compliment! Right now the way to skip some views is to use the exclude parameter on the animate method (checkout the Documentation here).

The current plan is to have this exclude added to each of the methods so that it's easier to call. But I also want to change it to a function rather than just an array of views. So if you have any input on which you would prefer definitely let us know! 👍

pballada commented 7 years ago

Didn't see that. Perfect! Let me try and if I see a better way I will tell you.

Thanks!