Class Dump

Software Engineering 1570 views

I recently discovered class-dump (similar to F-Script Anywhere) after researching how to write a plug-in. Apparently, Apple has an undocumented way of supporting plug-ins for Mail via the MVMailBundle interface. I used class-dump to get a print out of the interface methods.

Of course, I first has to re-compile class-dump against the 10.5 SDK, and then copy the file to /usr/bin. It took me a while to figure out I needed to copy the file to /usr/bin.

@interface MVMailBundle : NSObject

+ (id)allBundles;
+ (id)composeAccessoryViewOwners;
+ (void)registerBundle;
+ (id)sharedInstance;
+ (BOOL)hasPreferencesPanel;
+ (id)preferencesOwnerClassName;
+ (id)preferencesPanelName;
+ (BOOL)hasComposeAccessoryViewOwner;
+ (id)composeAccessoryViewOwnerClassName;
- (void)dealloc;
- (void)_registerBundleForNotifications;