【发布时间】:2013-10-12 08:10:57
【问题描述】:
我有xib 和两个CustomView(NSView *one, NSView *two),我在AppDelegate 中如何addSubview?
self.content = [[ContentViewController alloc]
initWithNibName:@"ContentViewController"
bundle:nil];
[[[[self vertical] subviews] objectAtIndex:1] addSubview:[_content one]];
这种方式行不通。
【问题讨论】:
标签: objective-c cocoa addsubview