[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

subview bindings not working in NSBox with bound hidden attribute



Thanks - this works.  NSSplitView does seem to respond to the bindings 
when appropriate.  TH!

On Mar 22, 2004, at 2:46 PM, David Christensen wrote:

> Rick,
>
> iCal and the like maintain their view manipulations with NSSplitView, 
> which lets you do some fancy things as far as managing which views are 
> displayed.  I have not played specifically with the bindings API and 
> seen if NSSplitView responds as expected to the hidden binding, but 
> you can use the standard NSView -addSubview: and -removeSubview: calls 
> followed by an -adjustSubviews to your NSSplitView.
>
> It would be interesting to see if the bindings implementation works 
> with this as well.
>
> HTH,
>
> David
> -----
> David Christensen
> Founder and CTO
> Yin Yan Software
>