Re: Unresponsive mouseMoved method
Re: Unresponsive mouseMoved method
- Subject: Re: Unresponsive mouseMoved method
- From: mmalc crawford <email@hidden>
- Date: Sat, 31 Mar 2007 01:11:58 -0700
On Mar 30, 2007, at 11:37 PM, Andy Lee wrote:
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.
The issue isn't really specific to views, of course.
Abstract classes are defined for Obj-C here:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_4_section_4.html
>
Class clusters are described in terms of the abstract factory pattern
here:
<http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CocoaDesignPatterns/chapter_5_section_3.html
>
this is a different concept but does include a contrast...
(see also <http://developer.apple.com/documentation/Cocoa/Conceptual/CocoaFundamentals/CocoaObjects/chapter_3_section_9.html
>).
Where would be an appropriate place to make the distinction clear (in
particular where would you expect someone to be likely to read it)?
mmalc
_______________________________________________
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