MTCardLayout
MTCardLayout copied to clipboard
Do not collapse all cards
In the layout effects struct there is a boolean called: 'collapsesAll' with the description: // Allows all cards to collapse to the bottom.
Unfortunately, this is not used anywhere in the code and I would love to have this functionality, I tried to implement it myself but couldn't do it..
Any help?
Just for preventing the collapsing of all cards you can check this class MTCollectionViewCardLayoutHelper
there is this method
- (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context
you can comment the code inside, to get what you want.
@saurabh143 thanks for letting me know, I'll check it out!