Re: Plugin design question
Re: Plugin design question
- Subject: Re: Plugin design question
- From: Brent Gulanowski <email@hidden>
- Date: Wed, 11 Sep 2002 22:44:12 -0400
On Wednesday, September 11, 2002, at 12:08 PM, Drew McCormack wrote:
I want to make a modular application that utilizes plugins as much as
possible. Each plugin will basically be a filter, which acts on a
model (data) object. The model objects must be in the main
application, but will also need to be accessed within the plugins (of
course). My question is: how do I incorporate the model classes into
the plugin?
I thought it was a feature of Objective-C that the plugin wouldn't have
to have any compile-time knowledge of the model classes unless you were
calling factory methods. You say that the model objects are owned by
the main application, so I take it that you won't be creating instances
in the plugin. So why not just use the dynamic features and send the
messages you want to the model objects? I was under the impression that
that would just work.
If I'm missing something then I hope someone will explain it to me.
Brent
_______________________________________________
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.