KFSplitView 1.3 review
DownloadKFSplitView is a subclass of NSSplitView with a few extra features: • Allows programmatic expanding and collapsing of subviews • Posts notifications when subviews collapse and expand • Implements NSWindow-like position saving and autosaving • Informs the delegate when the user double clicks or drags a divider This class might also be of interest because it is pretty much a complete re implementation of NSSplitView with an open source license.
|
|
KFSplitView is a subclass of NSSplitView with a few extra features:
• Allows programmatic expanding and collapsing of subviews
• Posts notifications when subviews collapse and expand
• Implements NSWindow-like position saving and autosaving
• Informs the delegate when the user double clicks or drags a divider
This class might also be of interest because it is pretty much a complete re implementation of NSSplitView with an open source license. It's a good place to start if you're looking to add some functionality to NSSplitView and you're having a hard time getting it by subclassing Apple's class.
What's New:
API changes:
replaced stringWithSavedPosition and setPositionFromString: with plistObjectWithSavedPosition and setPositionFromPlistObject:
removed KFOffScreenPoint. It is no longer necessary to do anything different than you would with an NSSplitView in splitView:resizeSubviewsWithOldSize:
added new delegate method, splitView:didFinishDragInDivider: (contributed by John Pannell)
Other new features:
KFSplitView's adjustSubviews now resizes subviews more evenly on average than NSSplitView's version. This is most noticable when resizing the window that contains the splitview; the relative sizes of the splitview's subviews stay much closer.
position saving now includes splitview orientation
less redundant drawing
Bug fixes:
fixed a bug that could cause initially improperly sized subviews when using a nib with custom views as direct subviews of the splitview (reported by Daniel Todd Currie)
fixed a display bug (reported by Daniel Todd Currie).
KFSplitView 1.3 keywords