Re: custom view won't update
Re: custom view won't update
- Subject: Re: custom view won't update
- From: H M <email@hidden>
- Date: Thu, 13 Sep 2007 18:43:20 +0100
It seems a little strange that an NSView subclass has IBActions/
IBOutlets... yet the above code seems to imply that.
I can put those actions into a controller class (already there) but
then how do I send a setNeedsDisplay message to my view?
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.
--
GPG Key ID: 92AD877F7E4E32B9
Fingerprint: 16B0 7DCD 3AB0 0C45 F5FD 581D 92AD 877F 7E4E 32B9
_______________________________________________
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