Skip to content

ADAlbumListController

duzexu edited this page Jun 2, 2021 · 2 revisions

ADAlbumListController

Controller to display albums.

public class ADAlbumListController: UIViewController 

Inheritance

UITableViewDataSource, UITableViewDelegate, UIViewController

Properties

tableView

Use to show albums.

public var tableView: UITableView!

dataSource

Data source contain album models.

public var dataSource: ADAlbumListDataSource!

preferredStatusBarStyle

public override var preferredStatusBarStyle: UIStatusBarStyle 

Methods

viewDidLoad()

public override func viewDidLoad() 

viewWillAppear(_:)

public override func viewWillAppear(_ animated: Bool) 

tableView(_:numberOfRowsInSection:)

public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int 

tableView(_:cellForRowAt:)

public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell 

tableView(_:didSelectRowAt:)

public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) 
Types
Protocols
Global Typealiases
Operators
Extensions
Clone this wiki locally