Re: addSubView: [NSView subviews] doesn't show any subviews, after adding subviews.
Re: addSubView: [NSView subviews] doesn't show any subviews, after adding subviews.
- Subject: Re: addSubView: [NSView subviews] doesn't show any subviews, after adding subviews.
- From: Shawn Erickson <email@hidden>
- Date: Fri, 18 Nov 2005 15:30:08 -0800
On 11/18/05, Frederick C. Lee <email@hidden> wrote:
> Greetings:
> I just wanted to add subviews to a container view: eventually having
> n-rows and n-columns of subviews within a container view. I want to
> manage those views via the container view's subviews array. But as
> you can see, the container array doesn't get populated by new subviews.
>
> What am I missing?
>
> - (IBAction)addSubView:(id)sender {
> NSLog(@"{GVDocument.m: addSubView}");
> [gvContainerView addSubview:ricImageView];
Are you sure ricImageView isn't nil?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden