Can I load multiple nibs files with the same owner class at the same time ?
So I can load sheets from different nibs ?
I’m currently using NSBundle:
[NSBundle loadNibNamed:@"nib1" owner:self];
[NSBundle loadNibNamed:@"nib2" owner:self];
But I get this error message”
<Error>: kCGErrorIllegalArgument: _CGSFindSharedWindow: WID 3387
<Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
<Error>: kCGErrorIllegalArgument: CGSOrderWindowListWithGroups: invalid window ID (3387)
thanks
Loading several nibs is of course possible, but you need to make sure your bindings are right in both nib files. If the nib files are simply containing views, make an IBOutlet for each NSView and separate the nibs that way.