Re: Unresponsive mouseMoved method
Re: Unresponsive mouseMoved method
- Subject: Re: Unresponsive mouseMoved method
- From: Bob Smith <email@hidden>
- Date: Fri, 30 Mar 2007 17:11:34 -0700
The NSView documentation page starts right out by saying:
NSView is an abstract class that defines the basic drawing, event-
handling, and printing architecture of an application.
(this is from <http://developer.apple.com/documentation/Cocoa/
Reference/ApplicationKit/Classes/NSView_Class/Reference/
Reference.html>). I have not seen any documentation saying that
NSView is currently a class cluster, I was speculating that it could
be in the future. In any case, when I see a class described as
"abstract" I take that to mean I should not instantiate the class
directly, and I assume the initializers may return instances of a
subclass rather than the class itself. Is that not correct? Or are
the docs wrong by describing NSView as abstract?
Bob S.
On Mar 30, 2007, at 12:37 PM, Uli Kusterer wrote:
Am 29.03.2007 um 23:40 schrieb Bob Smith:
The problem with your category approach is that NSView is not a
concrete class, it is an abstract superclass meaning it might be
implemented in appkit as a class cluster.
Errr... no. You can easily create a plain NSView in Interface
Builder around other views, so it's definitely not abstract, and
I've yet to see any documentation stating that NSView was a class
cluster. Can you give me a URL where you heard NSView was a class
cluster?
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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