Nov 22 2017
Text field actions and NSTextFieldDelegate
(Xcode 9, Swift 4, macOS 10.12) I’ve been working with the Cocoa framework on MacOS, on and off, since 2006. That’s more than ten years. Taking a value from a text field is one of the first exercises you learn when you first explore programming… and it wasn’t until I poked at Apple’s introductory iOS […]
Dec 27 2017
Storyboard ID Caveat
macOS 10.12, Xcode 9.2 Do not use the name of a viewController subclass as your Storyboard ID. I’ve had both ‘Storyboard […] doesn’t contain a controller with identifier ‘MyCustomController’ and the cast to MyCustomController failing randomly; in one instance a cast to NSViewController worked, but MyCustomController did not. When I set the identifier to “CustomVC” […]
By Extelligent Cocoa • Application Design, Bug Reports • • Tags: NSPopover