In case any of my fellow sojourners are wondering the same thing, I’ll ask here. I started the book using Xcode 4.2 and ARC, having decided the unspoken challenge is to use the differences between the book and the present tools as a learning opportunity. But over and over we create a new “Window-based” project where outlets are connected to the appDelegate; and as near as I can wrangle Xcode 4.2 that just isn’t going to happen in a ‘single view’ app. (I did download Joe’s blank window-based project, but felt grungy using it )
If there’s a way to control drag from a UILabel to an appDelegate, I’m all ears.
Which leaves the strategy question: How do you wire up the UILabel in the View to “outlets” in the AppDelegate? I suppose you can use the “viewDidLoad” time to communicate pointers between a viewController and an appDelegate. But would it be “better” to go an NSNotification route? So in this example if your netService:didNotResolve the appDelegate could post a notification that the viewController was listening for, and who in turn would update the UILabel with the “Could not resolve service.” message?