 | | From: | Amey Joshi | | Subject: | Reverse engineering tools for Objective C | | Date: | 30 Nov 2004 05:13:26 -0800 |
|
|
 | We are having a sizeable Objective C code that needs to be converted to C++. Is there a tool to generate class diagrams from source code?
|
|
 | | From: | David Stes | | Subject: | Re: Reverse engineering tools for Objective C | | Date: | Tue, 30 Nov 2004 18:04:35 GMT |
|
|
 | Amey Joshi wrote: > We are having a sizeable Objective C code that needs to be converted > to C++. Is there a tool to generate class diagrams from source code?
POC has a -browser option that generates browser info.
See http://users.pandora.be/stes/compiler.html
Many of the classes in POC also respond to a message called -st80.
The -st80 messages were for some tests with semi-automatically converting code from Objective-C to ST (Smalltalk).
It's not so easy, it's not complete, but it may give some ideas.
|
|
 | | From: | Tom Harrington | | Subject: | Re: Reverse engineering tools for Objective C | | Date: | Tue, 30 Nov 2004 09:49:49 -0700 |
|
|
 | In article <10fae8fb.0411300513.e5ff537@posting.google.com>, amey_s_joshi@hotmail.com (Amey Joshi) wrote:
> We are having a sizeable Objective C code that needs to be converted > to C++. Is there a tool to generate class diagrams from source code?
Autograf will do this nicely. And it's free. Or else use Doxygen, and have it generate class diagrams.
-- Tom "Tom" Harrington Macaroni, Automated System Maintenance for Mac OS X. Version 2.0: Delocalize, Repair Permissions, lots more. See http://www.atomicbird.com/
|
|
 | | From: | silverdr | | Subject: | Re: Reverse engineering tools for Objective C | | Date: | Tue, 30 Nov 2004 19:37:28 +0100 |
|
|
 | Tom Harrington wrote: > In article <10fae8fb.0411300513.e5ff537@posting.google.com>, > amey_s_joshi@hotmail.com (Amey Joshi) wrote: > > >>We are having a sizeable Objective C code that needs to be converted >>to C++. Is there a tool to generate class diagrams from source code? > > > Autograf will do this nicely. And it's free. Or else use Doxygen, and > have it generate class diagrams. >
Under OS X AFAIR also OmniGraffle had some nice capabilities for the purpose.
|
|
 | | From: | Michael Ash | | Subject: | Re: Reverse engineering tools for Objective C | | Date: | Tue, 30 Nov 2004 13:17:15 -0600 |
|
|
 | silverdr wrote: > Tom Harrington wrote: >> In article <10fae8fb.0411300513.e5ff537@posting.google.com>, >> amey_s_joshi@hotmail.com (Amey Joshi) wrote: >> >> >>>We are having a sizeable Objective C code that needs to be converted >>>to C++. Is there a tool to generate class diagrams from source code? >> >> >> Autograf will do this nicely. And it's free. Or else use Doxygen, and >> have it generate class diagrams. > > Under OS X AFAIR also OmniGraffle had some nice capabilities for the > purpose.
Cool. If anybody is wondering about the exact process (it took me a bit of searching to find), you can just drag a .pbproj file onto OmniGraffle and you get a nice diagram of all of your classes. It didn't work with a ..xcode file, probably because my copy of OmniGraffle is kind of old, but it worked if I renamed it to .pbproj. It also works with frameworks, so you can generate diagrams of the Cocoa frameworks too. Thanks for the tip!
|
|
 | | From: | Gregory Weston | | Subject: | Re: Reverse engineering tools for Objective C | | Date: | Tue, 30 Nov 2004 22:46:03 GMT |
|
|
 | In article <1101842235.547167@nfs-db1.segnet.com>, Michael Ash wrote:
> silverdr wrote: > > Tom Harrington wrote: > >> In article <10fae8fb.0411300513.e5ff537@posting.google.com>, > >> amey_s_joshi@hotmail.com (Amey Joshi) wrote: > >> > >> > >>>We are having a sizeable Objective C code that needs to be converted > >>>to C++. Is there a tool to generate class diagrams from source code? > >> > >> > >> Autograf will do this nicely. And it's free. Or else use Doxygen, and > >> have it generate class diagrams. > > > > Under OS X AFAIR also OmniGraffle had some nice capabilities for the > > purpose. > > Cool. If anybody is wondering about the exact process (it took me a bit of > searching to find), you can just drag a .pbproj file onto OmniGraffle and > you get a nice diagram of all of your classes. It didn't work with a > .xcode file, probably because my copy of OmniGraffle is kind of old, but > it worked if I renamed it to .pbproj. It also works with frameworks, so > you can generate diagrams of the Cocoa frameworks too. Thanks for the tip!
My copy of OmniGraffle is up-to-date. It accepts XCode projects without renaming.
-- Change account to gw when responding by mail.
|
|
 | | From: | Tom Harrington | | Subject: | Re: Reverse engineering tools for Objective C | | Date: | Wed, 01 Dec 2004 10:09:44 -0700 |
|
|
 | In article <1101842235.547167@nfs-db1.segnet.com>, Michael Ash wrote:
> silverdr wrote: > > Tom Harrington wrote: > >> In article <10fae8fb.0411300513.e5ff537@posting.google.com>, > >> amey_s_joshi@hotmail.com (Amey Joshi) wrote: > >> > >> > >>>We are having a sizeable Objective C code that needs to be converted > >>>to C++. Is there a tool to generate class diagrams from source code? > >> > >> > >> Autograf will do this nicely. And it's free. Or else use Doxygen, and > >> have it generate class diagrams. > > > > Under OS X AFAIR also OmniGraffle had some nice capabilities for the > > purpose. > > Cool. If anybody is wondering about the exact process (it took me a bit of > searching to find), you can just drag a .pbproj file onto OmniGraffle and > you get a nice diagram of all of your classes. It didn't work with a > .xcode file, probably because my copy of OmniGraffle is kind of old, but > it worked if I renamed it to .pbproj. It also works with frameworks, so > you can generate diagrams of the Cocoa frameworks too. Thanks for the tip!
Those diagrams are nice, but you can get a whole lot more information from Doxygen or Autograf. With Doxygen you get class diagrams, as in OmniGraffle. You also optionally get collaboration diagrams for classes, and even call graphs for individual methods. The diagrams are all hyperlinked, too. I wouldn't give up my copy of OmniGraffle, but for getting info on Obj-C code I'd stick with Doxygen. It's free at , and has a Mac OS X binary download.
Autograf does collaboration diagrams, but seems less stable. Often it simply does nothing at all. I've never had Doxygen fail, though.
-- Tom "Tom" Harrington Macaroni, Automated System Maintenance for Mac OS X. Version 2.0: Delocalize, Repair Permissions, lots more. See http://www.atomicbird.com/
|
|
 | | From: | =?iso-8859-1?b?Ik5v6Q==?= Falzon | | Subject: | Re: Reverse engineering tools for Objective C | | Date: | Sat, 04 Dec 2004 01:08:43 +0100 |
|
|
 | On Wed, 01 Dec 2004 10:09:44 +0000, Tom Harrington wrote:
> It's free at > ,
Unfortunately, it seems that this website is not accessible... Would you have some other place to download it ? www.doxygen.org is also not accessible.
Thanks NF
|
|
 | | From: | silverdr | | Subject: | Re: Reverse engineering tools for Objective C | | Date: | Sat, 04 Dec 2004 01:52:03 +0100 |
|
|
 | No=E9 Falzon wrote: > On Wed, 01 Dec 2004 10:09:44 +0000, Tom Harrington wrote: >=20 >=20 >> It's free at=20 >>, >=20 >=20 > Unfortunately, it seems that this website is not accessible... > Would you have some other place to download it ? > www.doxygen.org is also not accessible.
I managed to download the OS X version from the given site. I placed the =
file under:
http://srebrnysen.internetdsl.pl/Doxygen-1.3.9.1.dmg
|
|
 | | From: | Noé Falzon | | Subject: | Re: Reverse engineering tools for Objective C | | Date: | Sat, 04 Dec 2004 10:50:36 +0100 |
|
|
 | In article <41b10a2d@news.inet.com.pl>, silverdr wrote:
> I managed to download the OS X version from the given site. I placed the > file under: > > http://srebrnysen.internetdsl.pl/Doxygen-1.3.9.1.dmg
OK thanks a lot, great !
NF -- "Je ne deteste que les bourreaux" -- Albert Camus
Pour m'écrire un mail, veuillez retirer PASDEPUB de mon adresse ;)
|
|
 | | From: | Tom Harrington | | Subject: | Re: Reverse engineering tools for Objective C | | Date: | Sat, 04 Dec 2004 15:19:36 -0700 |
|
|
 | In article , Noé Falzon wrote:
> In article <41b10a2d@news.inet.com.pl>, > silverdr wrote: > > > I managed to download the OS X version from the given site. I placed the > > file under: > > > > http://srebrnysen.internetdsl.pl/Doxygen-1.3.9.1.dmg > > > OK thanks a lot, great !
One thing I should have mentioned-- if you use the GUI setup tool, don't use the "wizard" option except for a quick test-run. I found that settings there sometimes seemed to get lost. The expert option has always worked for me, though.
-- Tom "Tom" Harrington Macaroni, Automated System Maintenance for Mac OS X. Version 2.0: Delocalize, Repair Permissions, lots more. See http://www.atomicbird.com/
|
|
 | | From: | Tom Harrington | | Subject: | Re: Reverse engineering tools for Objective C | | Date: | Fri, 03 Dec 2004 22:24:47 -0700 |
|
|
 | In article , "Noé Falzon" wrote:
> On Wed, 01 Dec 2004 10:09:44 +0000, Tom Harrington wrote: > > > It's free at > > , > > Unfortunately, it seems that this website is not accessible... > Would you have some other place to download it ?
It must have been a temporary glitch; it seems to be up now.
-- Tom "Tom" Harrington Macaroni, Automated System Maintenance for Mac OS X. Version 2.0: Delocalize, Repair Permissions, lots more. See http://www.atomicbird.com/
|
|