On 3 Oct 2008, at 2:52 pm, Ken Tozier wrote:

Hi

I need to create an interface with collapsible views (much like those in InterfaceBuilder's "inspector" palette) and am having a hard time figuring out what exactly to use as the base in IB 3.0. In older versions of IB, there was a "panel" view which allowed for this stuff, but that appears to be gone in 3.0. What should I use? And how can I create a generic collapsible view widget?

I made a bunch of custom view classes for an earlier version of my app but it required writing over 70 individual custom views and eventually the complicated interactions between all these parts got away from me. I couldn't get the refreshing right in response to window resizing so I thought I'd take a crack at creating these custom views in IB.

I badly need a generic collapsible view that can contain any number of other views (again much like IB 3.0 Inspector palette)

Any links to example projects or tips greatly appreciated.


I won't claim it's a perfect implementation by any means, but I wrote a couple of classes that implement collapsible, stackable views that can be docked together within existing windows or in their own windows freely. You can place any subviews inside them you want and they're straightforward to customise.

http://apptree.net/dockables.htm

Hope it's useful, or maybe you can cannibalise the code.

cheers, Graham
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to