NSTableView

public extension NSTableView

Public Functions

  • Returns a view of class class for tableColumn and owner.

    Declaration

    Swift

    func makeViewClass<T>(_ class: T.Type, forTableColumn tableColumn: NSTableColumn?, owner: Any? = nil) -> T where T : NSView

    Parameters

    class

    The view class to make

    tableColumn

    The related table column

    owner

    The owner object

    Return Value

    The view instance

  • Returns a view of class class with identifier and owner.

    Declaration

    Swift

    func makeViewClass<T>(_ class: T.Type, withIdentifier identifier: NSUserInterfaceItemIdentifier = .init(T.defaultReuseIdentifier), owner: Any? = nil) -> T where T : NSView

    Parameters

    class

    The view class to make

    identifier

    The view identifier

    owner

    The owner object

    Return Value

    The view instance