Plug -in for Cocoa
-
Can anyone point me to the description of how to implement plug-ins
for a Cocoa application?
thanks,
--dick peskin
--
=================================
R. L. Peskin, RLP Consulting, Londonderry, VT; <rpeskin...>;
<http://www.rlpcon.com>
Rutgers Univ. ;<peskin...>;<http://www.caip.rutgers.edu/~peskin> -
On Thursday, January 25, 2001, at 11:46 PM, Richard L. Peskin wrote:
> Can anyone point me to the description of how to implement plug-ins
> for a Cocoa application?
NSBundle:
file:/System/Library/Frameworks/Foundation.framework/Versions/C/Resources/English.lproj/Documentation/Reference/ObjC_classic/Classes/NSBundle.html
andy
--
Description forthcoming. -
Have you taken a look at Apple's documentation for Core Foundation Plug-In
Services? It's at
<http://developer.apple.com/techpubs/macosx/CoreFoundation/PluginServices/Pl
ug_in_Services/index.html>.
Might be what you're looking for.
Matthew
-----Original Message-----
From: Richard L. Peskin [mailto:<rpeskin...>]
Sent: Thursday, January 25, 2001 3:46 PM
To: <macosx-dev...>
Subject: Plug -in for Cocoa
Can anyone point me to the description of how to implement plug-ins
for a Cocoa application?
thanks,
--dick peskin
--
=================================
R. L. Peskin, RLP Consulting, Londonderry, VT; <rpeskin...>;
<http://www.rlpcon.com>
Rutgers Univ.
;<peskin...>;<http://www.caip.rutgers.edu/~peskin>
_______________________________________________
MacOSX-dev mailing list
<MacOSX-dev...>
http://www.omnigroup.com/mailman/listinfo/macosx-dev -
On Thursday, January 25, 2001, at 03:46 PM, matthew calhoun wrote:
> Have you taken a look at Apple's documentation for Core Foundation> Pl
> Plug-In
> Services? It's at
> <http://developer.apple.com/techpubs/macosx/CoreFoundation/PluginServices/
> ug_in_Services/index.html>.
> Might be what you're looking for.
Actually, CFPlugIn is mainly intended for managing plug-in interfaces
for C or C++ applications. Cocoa applications using Objective C or Java
are more likely to use NSBundle for loading plug-ins, and to make use of
the dynamic nature of their object runtimes to manage plug-in
interfaces. An example would probably make this clear--can anyone cite
something that is generally available? Perhaps a screen saver?
Douglas Davidson -
IB palettes?
----------------------------------
Henri Lamiraux
Engineering Manager
User Interface Tools Group
Apple
<lamiraux...>
> From: Douglas Davidson <ddavidso...>>> Pl
> Date: Thu, 25 Jan 2001 16:12:47 -0800
> To: matthew calhoun <mcalhoun...>
> Cc: "'<MacOSX-dev...>'" <MacOSX-dev...>
> Subject: Re: Plug -in for Cocoa
>
>
> On Thursday, January 25, 2001, at 03:46 PM, matthew calhoun wrote:
>
>> Have you taken a look at Apple's documentation for Core Foundation
>> Plug-In
>> Services? It's at
>> <http://developer.apple.com/techpubs/macosx/CoreFoundation/PluginServices/
>> ug_in_Services/index.html>.
>> Might be what you're looking for.
>
> Actually, CFPlugIn is mainly intended for managing plug-in interfaces
> for C or C++ applications. Cocoa applications using Objective C or Java
> are more likely to use NSBundle for loading plug-ins, and to make use of
> the dynamic nature of their object runtimes to manage plug-in
> interfaces. An example would probably make this clear--can anyone cite
> something that is generally available? Perhaps a screen saver?
>
> Douglas Davidson
> _______________________________________________
> MacOSX-dev mailing list
> <MacOSX-dev...>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
>
-
The source is a little out-of-date (I haven't tried compiling on Mac OS X
yet) but FreeSpace (a Mac OS X Server screen saver program) demonstrates
how to write and use bundles from Cocoa. The NSBundle basics haven't
changed between Mac OS X Server and Mac OS X Public Beta.
Find the source here:
http://www.abunai.org/freespace/freespace.html
Mike Trent
On Thu, 25 Jan 2001, Douglas Davidson wrote:
>> > Pl
> On Thursday, January 25, 2001, at 03:46 PM, matthew calhoun wrote:
>
>> Have you taken a look at Apple's documentation for Core Foundation
>> Plug-In
>> Services? It's at
>> <http://developer.apple.com/techpubs/macosx/CoreFoundation/PluginServices/
>> ug_in_Services/index.html>.
>> Might be what you're looking for.
>
> Actually, CFPlugIn is mainly intended for managing plug-in interfaces
> for C or C++ applications. Cocoa applications using Objective C or Java
> are more likely to use NSBundle for loading plug-ins, and to make use of
> the dynamic nature of their object runtimes to manage plug-in
> interfaces. An example would probably make this clear--can anyone cite
> something that is generally available? Perhaps a screen saver?
>
> Douglas Davidson
> _______________________________________________
> MacOSX-dev mailing list
> <MacOSX-dev...>
> http://www.omnigroup.com/mailman/listinfo/macosx-dev
>
-
In the January issue of Mactech, Andrew Stone has an article titled
"Dynamic Bundles and Runtime Loading is OS X" covering plug-ins using
CFBundle and NSBundle. I haven't read it yet, but this may be what you
are looking for.
-Mike
=======



