However, in a real app, you cannot rely on only this setting to get the window on screen. For example, what if the window was closed with the intent of reopening it later? You would call showWindow(_:) to reopen the window, and showWindow(_:) will only work if the window outlet is connected.
- 5. Controls
- from Cocoa Programming for OS X: The Big Nerd Ranch Guide
- Publisher: Big Nerd Ranch Guides
- Released: April 2015
I don’t think I understand this yet.
Share this highlighthttp://www.safaribooksonline.com/a/cocoa-programming-for/10070591/