AEAccordionTableViewCell
This class is used as a expandable UITableViewCell for AEAccordionTableViewController.
Just subclass it and override setter of the expanded property to update UI based on this property.
You can also override setExpanded:withCompletion: in order to animate this UI update.
-
Flag which tells if the cell is expanded.
Declaration
Swift
public private(set) var expanded = false
-
Public setter of the
expandedproperty (this should be overriden by a subclass for custom UI update)Declaration
Swift
public func setExpanded(expanded: Bool, animated: Bool)Parameters
expandedtrueif the cell should be expanded,falseif it should be collapsed.animatedIf
trueaction should be animated.
View on GitHub
AEAccordionTableViewCell Class Reference