KFSplitViewKFSplitView - Subclass of NSSplitView with a few extra features | |
Download |
KFSplitView Ranking & Summary
Advertisement
- License:
- Freeware
- Price:
- FREE
- Publisher Name:
- Ken Ferry
- Publisher web site:
- http://homepage.mac.com/kenferry/software.html
- Operating Systems:
- Mac OS X 10.1 or later
- File Size:
- 55 KB
KFSplitView Tags
KFSplitView Description
KFSplitView - Subclass of NSSplitView with a few extra features 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 dividerThis 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 in This Release: 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 Related Software