IBOutlets not being set EXCEPT when creating throwaway variables during initWithNibName:bundle:
问题 Let me first say that I've searched Google and, although many have similar issues, I haven't seen anything with the following bizarre behavior and remedy. I've created a UIViewController and associated nib with several IBOutlets. On trying to consume this nib from another class, I discovered that after instantiating it with initWithNibName:bundle:, the IBOutlets are still nil. I confirmed that they are correctly wired up, and yes, they are being synthesized, but still nothing. While