IBOutlets are always nil

Posted by Jonas on Stack Overflow See other posts from Stack Overflow or by Jonas
Published on 2010-05-28T17:29:12Z Indexed on 2010/05/28 17:31 UTC
Read the original article Hit count: 145

Hi,

In IB I have subclassed the File Owner and the subclass loads my .nib. The subclass itself doesn't need access to the IBOutlets so they're instance variables in another class, which I added as a subclass of NSObject in the .nib. Then I connected the interface elements to that object. But somehow, in the class that "owns" the IBOutlets, they show up as nil.

What am I doing wrong here?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about cocoa