我有xib
两个CustomView
(NSView *one, NSView *two)
,我怎么addSubview
进去AppDelegate
?
self.content = [[ContentViewController alloc]
initWithNibName:@"ContentViewController"
bundle:nil];
[[[[self vertical] subviews] objectAtIndex:1] addSubview:[_content one]];
这种方式行不通。