My application uses storyboards, and in application:didFinishLaunchingWithOptions I'm checking to see if I have a valid GTMOAuth2Authentication instance that can sign requests. If I don't, I want to instantiate my auth view controller (which subclasses GTMOAuth2ViewControllerTouch) from the storyboard and make it the root view controller; normally my MainViewController would be root.
The trouble I'm facing is that when you instantiate a view controller from a storyboard, it is initialized by a call to initWithCoder. If within that method you call another initializer and assign it to self, the returned instance is no longer one which was freeze-dried in a NIB file, so any segues you've given it through IB are not available (and if you don't assign it to self there's a compiler error). I thought I'd get around this by mimicking one of the existing init methods and calling the same setters it does. Immediately I ran into the signIn_ ivar, which is private and has no accessor, so that approach will not work.
Any advice on how to set up a GTMOAuth2ViewControllerTouch subclass in initWithCoder?
Thanks...