• 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: Richard Schreyer <email@hidden>
  • Date: Wed, 29 May 2002 16:20:45 -0700

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. Any other binary compatibility problems (such as needing to add instance variables to a class in the future) can be taken care of by using some extra padding space where appropriate if you don't want the users of your framework to have to recompile.

Beyond that, Frameworks bundles can include several versions of the code, and the linker knows which one to use, which takes care of the API compatibility problem.

Richard Schreyer

On Wednesday, May 29, 2002, at 03:39 PM, Jeff Szuhay wrote:

Does anybody know of a developer's technote or technical comparison
of the MS COM architecture and what's available in Objective-C/OS X?

A MS Windows COM --> OS X porting guide would be a truly wonderful thing.
_______________________________________________
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: Chris Ridd <email@hidden>
    • Re: Objective C <--> COM comparison
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: Scoping of functions
  • Next by Date: Re: NSURL question (easy (i think))
  • Previous by thread: Re: Objective C <--> COM comparison
  • Next by thread: Re: Objective C <--> COM comparison
  • Index(es):
    • Date
    • Thread