Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sharing code between multiple bundle style (plugin) libraries



I'm trying to chain two plugins A and B, so that plugin B depends on and uses classes that are defined in plugin A. Is this possible and what is the best way to set this up in xCode?

For example say this class AService is defined in plugin A:

@interface AService : NSObject {
}
+ (void)doService;
@end

@implementation AService
+ (void)doService {
	NSBeep();
}
@end

How do I set things up so that I can write this code in plugin B:

[AService doService];

Basically I want to make a plugin A behave like a framework the plugin B links to, except I would still like the plugin A to be discoverable by my application at runtime time.

Thanks for any pointers.

Jesse

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.