On Feb 13, 2012, at 7:02 AM, Michael Crawford wrote:
> I'm trying to have a superview resize itself to match the bounds of a subview
> when the subview is added. When I do, the superview bounds become NaN.
>
> Why would this:
>
> - (void)didAddSubview:(NSView *)view
> {
>// resize to matc
I'm trying to have a superview resize itself to match the bounds of a subview
when the subview is added. When I do, the superview bounds become NaN.
Why would this:
- (void)didAddSubview:(NSView *)view
{
// resize to match bounds of given subview
NSLog(@"%@ = %@, %@ = %@", self, NSStrin