Re: custom view won't update
Re: custom view won't update
- Subject: Re: custom view won't update
- From: "Shawn Erickson" <email@hidden>
- Date: Thu, 13 Sep 2007 11:21:26 -0700
On 9/13/07, H M <email@hidden> wrote:
> The custom class is called Sky, so I tried [Sky setNeedsDisplay:YES],
> and when I built the project, I got a warning: "Sky might not respond
> to setNeedsDisplay" or something along those lines.
The compiler is correct to warn since setNeedsDisplay: is an instance
method (-[NSView setNeedsDisplay:]) and not a class method.
-Shawn
_______________________________________________
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