DotViewUndo/WindowController.swift
/* |
Copyright (C) 2017 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
A NSWindowController subclass to handle initial window configuration |
*/ |
import Cocoa |
class WindowController: NSWindowController { |
override func windowDidLoad() { |
super.windowDidLoad() |
self.window?.minSize = NSSize(width: 400, height: 300) |
} |
} |
Copyright © 2017 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2017-08-17