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



On Mar 30, 2007, at 9:42 PM, Murat Konar wrote:
You have to agree that the use of a phrase like "abstract class", even if technically not incorrect in the context of Objective-C, risks leading folks new to Objective-C and Cocoa, especially those with some C++ background, astray.

Bob, I suggest that you file an enhancement request against the docs...

I do agree, and I posted the following feedback using the link at the bottom of the NSView doc page:


- - -
The use of the term "abstract class" in the "Class at a Glance" section can easily confuse people coming from other languages where the term has a specific meaning. Having used Smalltalk, C++, and Java, I think of an abstract class that can't or shouldn't be instantiated. But it's not only possible but perfectly fine to instantiate NSView, as proven by CustomViews and tab views in IB. The problem is compounded by the fact that, as far as I can tell, the term "abstract class" is not explained anywhere for the Objective-C/ Cocoa context.


Is it possible that the Objective-C documentation for NSView was copied from the Java documentation? Is the Java version of NSView in fact abstract? But then how would Cocoa-Java have been able to read nib files?
- - -


--Andy



_______________________________________________

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>)
 >Re: Unresponsive mouseMoved method (From: Bob Smith <email@hidden>)
 >Re: Unresponsive mouseMoved method (From: Andreas Mayer <email@hidden>)
 >Re: Unresponsive mouseMoved method (From: Murat Konar <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.