TableView

public class TableView : UITableView, UITableViewDelegate, UITableViewDataSource, AmytisViewType, JSTableExport, UIGestureRecognizerDelegate, ExtendableView

Undocumented

  • //////////////////// extendable view protocol

    Declaration

    Swift

    public var params: [String : Any]
  • id

    Undocumented

    Declaration

    Swift

    public var id: String { get set }
  • Undocumented

    Declaration

    Swift

    public var frame2: Frame { get set }
  • Undocumented

    Declaration

    Swift

    public var parent: AmytisView { get set }
  • Undocumented

    Declaration

    Swift

    public var viewXML: XML { get set }
  • Undocumented

    Declaration

    Swift

    public func requiredInit()
  • Undocumented

    Declaration

    Swift

    @objc
    public func reRenderWithChild(_ xml: String)
  • Undocumented

    Declaration

    Swift

    @objc
    public func reRender(_ params: [String : Any])
  • Undocumented

    Declaration

    Swift

    @objc
    public func reCalculateFrame(_ animated: Bool)
  • Undocumented

    Declaration

    Swift

    @objc
    public func animateToFrame(_ string: String, _ time: Double = 0.5, _ completion: JSValue? = nil)
  • Undocumented

    Declaration

    Swift

    public var onSelect: Any { get set }
  • Undocumented

    Declaration

    Swift

    public func onSelect(_ action: @escaping ((IndexPath) -> Void))
  • Undocumented

    Declaration

    Swift

    public var onLongPress: Any { get set }
  • Undocumented

    Declaration

    Swift

    public func onLongPress(_ action: @escaping ((IndexPath) -> Void))
  • Undocumented

    Declaration

    Swift

    public var onReady: JSValue { get set }
  • Undocumented

    Declaration

    Swift

    public var __headerForSection: [Int : ((AmytisView) -> Void)]
  • Undocumented

    Declaration

    Swift

    public var __cell: ((AmytisView, IndexPath) -> Void)?
  • Undocumented

    Declaration

    Swift

    public var __cellForIndex: [IndexPath : ((AmytisView) -> Void)]
  • Undocumented

    Declaration

    Swift

    public func cell(_ cell: @escaping ((AmytisView, IndexPath) -> Void))
  • Undocumented

    Declaration

    Swift

    public var rowCount: [Int : Int] { get set }
  • Undocumented

    Declaration

    Swift

    public func reload()
  • Undocumented

    Declaration

    Swift

    public func reload(index: IndexPath, animation: UITableView.RowAnimation = .left)
  • Undocumented

    Declaration

    Swift

    public var rowHeights: [String : Int]
  • Undocumented

    Declaration

    Swift

    public var rowHeightForIndex: [IndexPath : Int]
  • Undocumented

    Declaration

    Swift

    public var staticCount: Int { get set }
  • Undocumented

    Declaration

    Swift

    public var staticHeight: Int
  • Undocumented

    Declaration

    Swift

    public func config()
  • Undocumented

    Declaration

    Swift

    public func startLoading()
  • Undocumented

    Declaration

    Swift

    public func stopLoading()
  • Undocumented

    Declaration

    Swift

    public func cellIdForIndex(_ action: ((IndexPath) -> String)? = nil)
  • Undocumented

    Declaration

    Swift

    public func cellForIndex(_ action: ((IndexPath) -> (String, ((AmytisView) -> Void)))? = nil)
  • Undocumented

    Declaration

    Swift

    public func headerIdForSection(_ action: ((Int) -> String?)? = nil)
  • Undocumented

    Declaration

    Swift

    public func headerForSection(_ action: ((Int) -> (String, ((AmytisView) -> Void))?)? = nil)
  • Undocumented

    Declaration

    Swift

    public func didDisplayCell(_ action: ((IndexPath) -> Void)? = nil)
  • Undocumented

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat
  • Undocumented

    Declaration

    Swift

    public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat
  • Undocumented

    Declaration

    Swift

    public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView?
  • Undocumented

    Declaration

    Swift

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

    Declaration

    Swift

    public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath)
  • Undocumented

    Declaration

    Swift

    public func tableView(_ tableView: UITableView, didEndDisplaying cell: UITableViewCell, forRowAt indexPath: IndexPath)
  • Undocumented

    Declaration

    Swift

    public func configCell(_ comp: JSValue)
  • Undocumented

    Declaration

    Swift

    public func onSelectCell(_ comp: JSValue)