FROM : Ken Ferry
DATE : Thu Sep 30 22:08:54 2004
On Wed, 29 Sep 2004 21:51:44 -0700, Eric Ocean <<email_removed>> wrote:
> 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 think the '-undefined suppress' linker flag is what you're looking
for. You'll also need '-force_flat_namespace' to keep everything
working.
Besides that, I'd generate headers for the relevant classes of the
framework using class-dump[1], and I would not add the framework to
the project.
-Ken
[1] <http://www.codethecode.com/Projects/class-dump/>
DATE : Thu Sep 30 22:08:54 2004
On Wed, 29 Sep 2004 21:51:44 -0700, Eric Ocean <<email_removed>> wrote:
> 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 think the '-undefined suppress' linker flag is what you're looking
for. You'll also need '-force_flat_namespace' to keep everything
working.
Besides that, I'd generate headers for the relevant classes of the
framework using class-dump[1], and I would not add the framework to
the project.
-Ken
[1] <http://www.codethecode.com/Projects/class-dump/>
| Related mails | Author | Date |
|---|---|---|
| Eric Ocean | Sep 30, 06:51 | |
| Karin Kosina | Sep 30, 12:37 | |
| Greg Hurrell | Sep 30, 13:29 | |
| Eric Ocean | Sep 30, 18:13 | |
| Glenn Andreas | Sep 30, 18:28 | |
| Eric Ocean | Sep 30, 19:07 | |
| Frederick Cheung | Sep 30, 20:13 | |
| Ken Ferry | Sep 30, 22:08 | |
| Eric Ocean | Oct 1, 00:41 |






Cocoa mail archive

