VNTableView
ançTableView的子类,支持像UITableView一样多节的特性。
API
VNTableViewDelegate
func tableView(_ tableView: VNTableView, heightOfRow row: Int, section: Int) -> CGFloat
func tableView(_ tableView: VNTableView, viewForRow row: Int, section: Int, tableColumn: NSTableColumn?) -> NSView?
func tableView(_ tableView: VNTableView, heightOfSection section: Int) -> CGFloat
func tableView(_ tableView: VNTableView, viewForSection section: Int, tableColumn: NSTableColumn?) -> NSView?
VNTableViewDataSource
func numberOfSections(in tableView: VNTableView) -> Int
func numberOfRows(in tableView: VNTableView, section: Int) -> Int