Oct 28 2017
macOS Storyboard Segues
The other day I had what I thought a very simple request: I wanted to replace one viewcontroller with another in the same window. This is something that on iOS (particularly iPhones) happens all the time; but somewhat to my suprise, macOS does not have an obvious out-of-the-box solution for this. This turns out to […]
Nov 9 2017
NSAlert Tutorial
macOS 10.12, Xcode 9, Swift 4 In my post on macOS Storyboard Segues I said I’d look at sheets in more details, and now is as good a time as any. I meant to look at sheet segues in this post, but then I worked through all of the permutations of NSAlert, and 3500 words […]
By Extelligent Cocoa • Application Design, Interface, Tutorials • • Tags: NSAlert, NSApplication.ModalResponse, sheets, UserDefaults