Re: Subview display problem
Re: Subview display problem
- Subject: Re: Subview display problem
- From: DKJ <email@hidden>
- Date: Tue, 28 Oct 2008 07:42:57 -0700
On 28 Oct, 2008, at 06:54, I. Savant wrote:
On Tue, Oct 28, 2008 at 9:23 AM, DKJ <email@hidden> wrote:
I'm having no luck getting a subview to display. In the
awakeFromNib of the
controller I have this:
helpView = [[MyView alloc] init];
NSView's designated initializer is -initWithFrame: ... what happens
if you use that instead?
Good point. I changed the line to this:
helpView = [[MyView alloc] initWithFrame:[theView frame]];
But the result was the same: a brief flash of colour. I also tried
passing NSZeroRect instead of [theView frame], and it made no
difference.
_______________________________________________
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