Re: Complicated set of dynamic nested views
Re: Complicated set of dynamic nested views
- Subject: Re: Complicated set of dynamic nested views
- From: Graham Cox <email@hidden>
- Date: Fri, 3 Oct 2008 20:47:24 +1000
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 (email@hidden)
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:
This email sent to email@hidden