| Newsgroups |
gmane.comp.macosx.devel |
| Message-ID |
<[email protected]> |
Now I want to develop a safari plugin with SIMBL, And I think the
steps were : a) generate a bundle loaded the SIMBL project , and
implement a method - load for the loaded method of plugin , and I
have implemented it . b) class-dump some methods of safari framework ,
and generate a headfile. c) add the headfile and override those
methods and get some DOM objects . My plugin will attend to get the
flash URL with safari page when it lanuched. But Now I have some
problems : one is Which framework and class I can select to get the
point . I use the command-line utility : class- dump and use the
command :
/Applications/class-dump -e /System/Library/Frameworks/
WebKit.framework/Versions/A/WebKit > WebKit.h
But I didn't generate a file with WebKit.h. And I used another
command:
/Applications/class-dump -H /System/Library/Frameworks/
WebKit.framework/Versions/A/WebKit > WebKit.h
But I have few hundreds of files included the file WebKit.h , But it
is empty. I still didn't know which methods or files I can select?
Tow is when I generate a headfile , I will add it in my project , and
How to use it for posing or method swizzing ? I really the greenhand
of class-dump and developping SIMBL plugin , can Someone give me some
code demo or advice ? Thank you very much!!!
_______________________________________________
MacOSX-dev mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-dev