Mailing Lists: Apple Mailing Lists

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

linking to private frameworks



I'm trying to override a method in a private framework for an application I own. I generated a header for the class (using RuntimeBrowser), and then created my category to override the method. I'm loading the category implementation via SIMBL. The linker complains, so I add the private framework to my project, but it still complains.

I'm assuming that's because the private framework contains no headers, but I don't see why that would matter to the linker. Should the linker just care about object code? I can load the SIMBL bundle just fine if I leave out the category of the private class.

Any suggestions? I know I could delve deep and manipulate the objective-c runtime dynamically, but I don't want to go that far just yet.

Regards,

Eric Ocean

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/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.