How should I use auto layout constrains inside NSSplitView
subview?
My NSSplitView
subview has 3 subview: topPane
, tableCont
I used this class as a workaround, it's not perfect (the subviews stutter a bit) but it unblocked me. I use this class as the custom class inside each split view pane.
@interface FBSplitPaneView : NSView
@end
@implementation FBSplitPaneView
- (void)setFrame:(NSRect)frame
{
for (NSView *subview in self.subviews) {
subview.frame = self.bounds;
}
[super setFrame:frame];
}
@end