Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unresponsive mouseMoved method



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Unresponsive mouseMoved method (From: "Steve Bryan" <email@hidden>)
 >Re: Unresponsive mouseMoved method (From: Bob Smith <email@hidden>)
 >Re: Unresponsive mouseMoved method (From: "Shawn Erickson" <email@hidden>)
 >Re: Unresponsive mouseMoved method (From: Bob Smith <email@hidden>)
 >Re: Unresponsive mouseMoved method (From: "Steve Bryan" <email@hidden>)
 >Re: Unresponsive mouseMoved method (From: Bob Smith <email@hidden>)
 >Re: Unresponsive mouseMoved method (From: Uli Kusterer <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.