Skip to content

hechen/VNTableView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VNTableView

Build Status Cocoapods Cocoapods platforms Swift Version

Subclass of NSTableView, which support multiple sections like UITableView.

Demo

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

About

NSTableView support multiple sections.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published