• 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
Plugin Interface
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Plugin Interface


  • Subject: Plugin Interface
  • From: David Remahl <email@hidden>
  • Date: Mon, 25 Jun 2001 19:24:05 +0200

For an app that is currently in development (just started), I think I am going to need a plugin interface. Plugins would provide the application with new object types, stored as NSView's in the nib file of the plugin. The application would call a function of the plugin to ask it to create a view (a subclass that is agreed on) and return it to the host, so that the host can add it to one of its own views (a document).

Would it be possible for the plugin to set itself as the delegate of user actions in the created view? The plugin will also be required to do many other things, such as save/restore the view at requests from the host, and do periodic validation upon user actions.

I have tried to read the documentation on CFPlugin, but the document is naturally quite carbon-centered, but it should be possible to apply to cocoa as well, eh? Is there an example of a Cocoa application using CFPlugin to handle some of its interface (or otherwise). For example, Brian Webster, couldn't you share the source of the Dockling glue?

/ david remahl


  • Prev by Date: Re: Scrolling / NSScrollView
  • Next by Date: Re: [NEWBIE] Sheets problem
  • Previous by thread: Re: Communicate with pipe and AuthorizationExecuteWithPrivileges
  • Next by thread: Re: Plugin Interface
  • Index(es):
    • Date
    • Thread