• 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: anotherDockProgram-help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: anotherDockProgram-help


  • Subject: Re: anotherDockProgram-help
  • From: Camillo Lugaresi <email@hidden>
  • Date: Mon, 23 Jan 2006 13:18:34 +0100

On 21/gen/06, at 14:39, Uli Kusterer wrote:

Am 21.01.2006 um 12:14 schrieb Markus Hitter:
Am 21.01.2006 um 11:19 schrieb Uli Kusterer:
to subclass NSWindow and change the constructor ...

"constructor"? Do Obj-C classes have constructors?

Sure. Just because they're called -init doesn't mean they aren't constructors in the OOP sense.

Is there a shared definition of the meaning and semantics of constructors in different OO languages?
If you say "constructor" most people will think of the C++ or Java semantics, which don't apply to Objective-C initializers, so it's better not to call them constructors.


Camillo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >anotherDockProgram-help (From: Alan Smith <email@hidden>)
 >Re: anotherDockProgram-help (From: Uli Kusterer <email@hidden>)
 >Re: anotherDockProgram-help (From: Markus Hitter <email@hidden>)
 >Re: anotherDockProgram-help (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Objects cross calls
  • Next by Date: Re: Objects cross calls
  • Previous by thread: Re: anotherDockProgram-help
  • Next by thread: Re: anotherDockProgram-help
  • Index(es):
    • Date
    • Thread