TKUIAttributionTableViewController

public class TKUIAttributionTableViewController : UITableViewController

Undocumented

  • Called when the user taps on an item in the attribution view, and requests displaying that URL. You should then either present it in an in-app web view, or call UIApplication.shared.open().

    Warning

    Make sure you provide either this or a delegate

    Declaration

    Swift

    public static var presentAttributionHandler: ((TKUIAttributionTableViewController, URL) -> Void)?
  • Undocumented

    Declaration

    Swift

    public var attributions: [TKAPI.DataAttribution]
  • Undocumented

    Declaration

    Swift

    public convenience init(attributions: [TKAPI.DataAttribution])
  • Undocumented

    Declaration

    Swift

    override public func viewDidLoad()
  • Undocumented

    Declaration

    Swift

    public override func viewDidAppear(_ animated: Bool)

Table view data source

  • Undocumented

    Declaration

    Swift

    override public func numberOfSections(in tableView: UITableView) -> Int
  • Undocumented

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    override public func tableView(_ tableView: UITableView, accessoryButtonTappedForRowWith indexPath: IndexPath)