My Objective-C is getting rusty, but in the Testing with Xcode Guide, how can the shared application's delegate be typecast to be a ViewController? Based on the Xcode templates, wouldn't you expect the delegate be an AppDelegate instance?
Testing With Xcode Guide - Major Typo?
On macOS I don’t think there’s anything stopping a object being both a view controller and the app delegate. But, yeah, you’re right that this is a little weird. I recommend that you file a bug against the doc requesting clarification on that point.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"