NSViewController

class NSViewController : NSResponder, NSEditor, NSSeguePerforming, NSUserInterfaceItemIdentification
  • Returns a view with the specified identifier recursively, or nil if such views were not found.

    Declaration

    Swift

    public func findView<T>(_ identifier: String) -> T?