RBSplitView 1.1.3 reviewDownload
RBSplitView is a replacement for Cocoa's NSSplitView.
RBSplitView is a replacement for Cocoa's NSSplitView. There are some serious limitations with NSSplitView if you need to limit subview's sizes, expand or collapse subviews programmatically or by double-clicking, or resize the split view frequently.
RBSplitView has special content views - RBSplitSubviews - that handle details of subview limitations and properties. So there's less or no work to be done by the delegate. RBSplitView also has built-in support for nesting any number of levels, and automatically generates a two-axis thumb to resize in two dimensions.
The IB palette for RBSplitView is still a work in progress, as many details of writing palettes for container views aren't properly documented... still, it mostly works. Be especially careful with Undo, Copy and Paste.
Small bug and documentation fixes.
Fixed a crashing bug when dragging dividers under certain conditions.
Fixed a bug which happened only when expanding the leading subview and the window simultaneously while the trailing subview had a minimum size which was larger than the distance to the right screen edge and if the name for the current phase of the moon in Egyptian had an odd number of hieroglyphs... well, something like that.
A new method, -[RBSplitView drawDivider:inRect:betweenView:andView:] is now available for subclassers.
A new delegate method, splitView:willDrawSubview:inRect: makes it easier to draw a frame inside subviews.
RBSplitView 1.1.3 keywords