QuickTableViewController
open class QuickTableViewController : UIViewController, UITableViewDataSource, UITableViewDelegate
extension QuickTableViewController: SwitchCellDelegate
A table view controller that shows tableContents as formatted sections and rows.
-
A Boolean value indicating if the controller clears the selection when the collection view appears.
Declaration
Swift
open var clearsSelectionOnViewWillAppear: Bool -
Returns the table view managed by the controller object.
Declaration
Swift
open var tableView: UITableView -
The layout of sections and rows to display in the table view.
Declaration
Swift
open var tableContents: [Section] { get set }
-
Initializes a table view controller to manage a table view of a given style.
Declaration
Swift
public init(style: UITableView.Style)Parameters
styleA constant that specifies the style of table view that the controller object is to manage.
-
Returns a newly initialized view controller with the nib file in the specified bundle.
Declaration
Swift
public override init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?)Parameters
nibNameOrNilThe name of the nib file to associate with the view controller.
nibBundleOrNilThe bundle in which to search for the nib file.
-
Returns an object initialized from data in a given unarchiver.
Declaration
Swift
public required init?(coder: NSCoder)Parameters
coderAn unarchiver object.
-
Declaration
Swift
open func switchCell(_ cell: SwitchCell, didToggleSwitch isOn: Bool)
View on GitHub
QuickTableViewController Class Reference