Classes

The following classes are available globally.

  • 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.

    See more

    Declaration

    Swift

    public class AEAccordionTableViewCell: UITableViewCell
  • This class is used for accordion effect in UITableViewController.

    Just subclass it and implement tableView:heightForRowAtIndexPath: (based on information in expandedIndexPaths property).

    See more

    Declaration

    Swift

    public class AEAccordionTableViewController: UITableViewController
  • This class is used for building nested XIB files (Xibception)

    For example, imagine that we have next files:

    • FirstView.swift, FirstView.xib
    • SecondView.swift, SecondView.xib
    • CustomCell.swift, CustomCell.xib

    Our goal is to add FirstView and SecondView to CustomCell.xib, but to load these views from their XIB files instead from code.

    These are the steps:

    • FirstView and SecondView must inherit from AEXibceptionView
    • In their XIB files File’s Owner must be set to their class (FirstView, SecondView)
    • In their XIB files root view should be connected to File’s Owner contentView property
    • In cell’s XIB file File’s Owner and Cell itself must be set to CustomCell class
    • Add views to CustomCell.xib and set their class to FirstView and SecondView
    See more

    Declaration

    Swift

    public class AEXibceptionView: UIView