• 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: Objective C <--> COM comparison
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Objective C <--> COM comparison


  • Subject: Re: Objective C <--> COM comparison
  • From: "John C. Randolph" <email@hidden>
  • Date: Wed, 29 May 2002 16:38:28 -0700

On Wednesday, May 29, 2002, at 04:20 PM, Richard Schreyer wrote:

To my knowledge, there is no equivalent to COM in ObjC/Cocoa.

Because ObjectiveC doesn't suffer from the fragile base class problem (you can add 'virtual' methods to a class... at run time!), it really isn't necessary for binary compatibility.

Actually, to be precise, Obj-C does have the fragile base class problem, just not as severely as C++. If you add an ivar to a class, you need to recompile any subclasses that access their inherited ivars directly.

-jcr


John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Objective C <--> COM comparison
      • From: Ondra Cada <email@hidden>
References: 
 >Re: Objective C <--> COM comparison (From: Richard Schreyer <email@hidden>)

  • Prev by Date: Re: NSURL question (easy (i think))
  • Next by Date: Re: Scoping of functions
  • Previous by thread: Re: Objective C <--> COM comparison
  • Next by thread: Re: Objective C <--> COM comparison
  • Index(es):
    • Date
    • Thread