How do I open another window in macOS in Swift with Cocoa
问题 I am working on a macOS app that presents a list of customer master records in a table view. Double-clicking a row in the table view should open a new window where the user can view and edit the customer information. This is an Xcode 8.3.3 project using a storyboard and Swift. It is not a document or core data app. I have the main window working up to the point where the table view is displaying the records correctly and the associated view controller is receiving the double-click events and