Re: Subview display problem
Re: Subview display problem
- Subject: Re: Subview display problem
- From: "I. Savant" <email@hidden>
- Date: Tue, 28 Oct 2008 10:49:44 -0400
On Tue, Oct 28, 2008 at 10:42 AM, DKJ <email@hidden> wrote:
> 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.
Have you tried any of the standard debugging approaches? Perhaps the
tried-and-true kludge of logging the view's frame each time it's drawn
(ie, it's -frame from within -drawRect:)?
--
I.S.
_______________________________________________
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