willowtreeapps/spruce-ios

Skip some views

pballada opened this issue · 2 comments

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.

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! 👍

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

Thanks!