[ANN]RBSplitView 1.1
[ANN]RBSplitView 1.1
- Subject: [ANN]RBSplitView 1.1
- From: Rainer Brockerhoff <email@hidden>
- Date: Sun, 24 Apr 2005 12:09:07 -0300
Significant update of my complete recode and replacement for NSSplitView.
Download from http://www.brockerhoff.net/src/rbs.html
(If you downloaded this already in the first few hours, I fixed a build bug in the framework; kindly download again.)
New in 1.1:
* Revised and expanded the documentation.
* Project files have been reorganized into folders.
* Reorganized target dependencies to reduce bundle sizes and download size.
* A new pair of RBSplitView methods, arrayWithStates and restoreStatesFromArray:, allows you to take a snapshot of a view's state (including nested subviews) and restore it later.
* You can now globally alter the cursors used by calling +[RBSplitView setCursor:toCursor:].
* A new delegate method, splitView:dividerForPoint:, makes it possible to implement alternate drag views (like the dragging tab in Tiger Mail). See the sample app for an example.
* A new delegate method, splitView:changedFrameOf:from:to:, makes it easier to keep auxiliary views aligned with certain RBSplitSubviews. See the sample app for an example.
* There are two new delegate methods, willAdjustSubviews: and didAdjustSubviews:, which unsurprisingly are called just before and after adjusting subviews.
* A new -[RBSplitView addSubview:atPosition:] method makes it easier to insert subviews.
* You can now hide and unhide RBSplitSubviews. Hiding a subview makes it vanish as far as redrawing is considered. This is different from collapsing in that one of the adjacent dividers also vanishes, and no delegate methods are called. Hiding is not available from the Interface Builder inspector though. See the sample app for an example.
* If a RBSplitSubview is collapsed while one of its subviews is the current first responder, it will now try to set the first responder to nil. This will avoid leaking focus rings outside the RBSplitView.
* A RBSplitView nested inside another as the single subview is now adjusted correctly.
* Nested RBSplitViews will now also inform the delegate of a size change; previously, only the outer RBSplitView would do that.
* A crashing bug in nib files saved in pre-10.2 format has been fixed.
* There are new methods to collapse/expand subviews with animation while keeping their contents static.
* All changes to RBSplitViews and RBSplitSubviews in Interface Builder are now undoable.
* Tabbing to the next key view in the Interface Builder inspectors now works correctly for all fields.
* There's a new option to set a transparent, 1x1 pixel divider image in Interface Builder.
* RBSplitSubview, RBSplitView and their outlets and actions are now shown correctly in Interface Builder's class outline view.
* Fixed a bug where the dimension could be incorrectly displayed for horizontal RBSplitViews in Interface Builder.
* You can now set the identifier for non-nested RBSplitView in the Interface Builder palette; this may help with debugging.
* There are new "Current" buttons in the RBSplitSubview inspector panel, to set minimum or maximum dimensions to the current dimension.
* Prebinding is no longer turned off for the framework, so you can now use it with both prebound and non-prebound applications without getting a warning.
* The license is now changed from a modified BSD license to the equivalent Creative Commons Attribution License, Version 2.0. Makes little or no difference in practice but I get to display the cool CC logo ;-).
Comments always welcome!
--
Rainer Brockerhoff <email@hidden>
Belo Horizonte, Brazil
"Brain: an apparatus with which we think we think." (Ambrose Bierce)
Weblog: http://www.brockerhoff.net/bb/viewtopic.php
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden