Ramotion / folding-cell

:octocat: 📃 FoldingCell is an expanding content cell with animation made by @Ramotion

Home Page:https://www.ramotion.com/folding-cell/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do you close all open cells programmatically?

EONCorp opened this issue · comments

How do you close all open cells programmatically?

You can take all visible cells and use unfold function
@objc open func unfold(_ value: Bool, animated: Bool = true, completion: (() -> Void)? = nil)

Hope it will help you, otherwise you can reopen this issue and provide more information