• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Complicated set of dynamic nested views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Complicated set of dynamic nested views


  • Subject: Re: Complicated set of dynamic nested views
  • From: Rob Keniger <email@hidden>
  • Date: Fri, 3 Oct 2008 15:40:25 +1000


On 03/10/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've implemented something like this myself and it's definitely more complicated than it should be. I found the best sample code is the CollapsibleBox class in the Reducer sample:

http://developer.apple.com/samplecode/Reducer/

--
Rob Keniger



_______________________________________________

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


References: 
 >Complicated set of dynamic nested views (From: Ken Tozier <email@hidden>)

  • Prev by Date: Re: Security - Write to protected directory
  • Next by Date: Re: Play Playlist in iTunes
  • Previous by thread: Complicated set of dynamic nested views
  • Next by thread: Re: Complicated set of dynamic nested views
  • Index(es):
    • Date
    • Thread