Can someone tell me how (or direct me to information) by mapping .xib (nib) to another .xib (nib).
No matter how I want to put it, so that I can program it around a basic type like this (which obviously doesn't work)
- (void)drawRect:(NSRect)dirtyRect { NSRect customView = NSMakeRect(pos1, pos1, 200, 100); [[NSBundle mainBundle] loadNibNamed:@"secondXib" owner:self]; NSRectFill (customView); }
And I want to do this for Mac OS X (not iPhone). (By the way, using xCode 4 incase, it matters)
source share