• 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: [Q] COM and dynamic link library?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Q] COM and dynamic link library?


  • Subject: Re: [Q] COM and dynamic link library?
  • From: Ondra Cada <email@hidden>
  • Date: Tue, 18 Apr 2006 23:37:28 +0200

JongAm,

On 18.4.2006, at 23:15, JongAm Park wrote:

I found out that the Plug-in architecture of the Cocoa uses Microsoft's COM model

It does not. The Cocoa plug-in architecture is based on plain loadable bundles, which exploit the dynamic Objective C architecture.


To create a Cocoa plug-in, you make a bundle; to load it, you use NSBundle methods. To access its services, you generally use the principalClass (which access is fully based on the information in the Info.plist of the bundle), or--in more complex cases--you access all its classes through the NSBundle notification NSBundleDidLoadNotification with its NSLoadedClasses info--which, far as I can say, is determined directly from the Objective C runtime.

Nowhere there is any place for the essentially non-object-oriented COM model. I guess it perhaps might be used for Carbon plug-ins (whose C++ limitations do not allow for a decent plug-in architecture based on the language runtime), but definitely *not* for Cocoa ones.
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: [Q] COM and dynamic link library?
      • From: Scott Thompson <email@hidden>
    • Re: [Q] COM and dynamic link library?
      • From: JongAm Park <email@hidden>
References: 
 >[Q] COM and dynamic link library? (From: JongAm Park <email@hidden>)

  • Prev by Date: Re: What happens to my German strings?
  • Next by Date: Re: [Q] COM and dynamic link library?
  • Previous by thread: [Q] COM and dynamic link library?
  • Next by thread: Re: [Q] COM and dynamic link library?
  • Index(es):
    • Date
    • Thread