• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Unresponsive mouseMoved method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unresponsive mouseMoved method


  • Subject: Re: Unresponsive mouseMoved method
  • From: Andreas Mayer <email@hidden>
  • Date: Sat, 31 Mar 2007 03:25:04 +0200


Am 31.03.2007 um 02:11 Uhr schrieb Bob Smith:

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?

I'm not sure why you would assume such.

There currently is no formalism to create 'real' abstract classes in Objective-C. So calling a class 'abstract' is just a way of saying it's *usually* subclassed. Unless the documentation says otherwise, this does not mean you can't use that class as is.

Similarly class clusters are also not a language feature but just a Cocoa convention. While class clusters may indeed return different objects on init, that does not mean that other classes can not do the same thing. Either way it has to be clearly documented.

NSView is not a class cluster. And instances of NSView are quite useful on their own (mostly as containers for other views). Whatever Apple may change in the future, they need to make sure to not hamper the ability to instantiate NSView or countless applications would break.


Andreas _______________________________________________

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


  • Follow-Ups:
    • Re: Unresponsive mouseMoved method
      • From: Murat Konar <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>)

  • Prev by Date: Re: Fullscreen Window
  • Next by Date: Re: Unresponsive mouseMoved method
  • Previous by thread: Re: Unresponsive mouseMoved method
  • Next by thread: Re: Unresponsive mouseMoved method
  • Index(es):
    • Date
    • Thread