Re: objc header parser or pre-compiled header API
Re: objc header parser or pre-compiled header API
- Subject: Re: objc header parser or pre-compiled header API
- From: Daniel Zitter <email@hidden>
- Date: Sun, 2 Feb 2003 13:05:21 -0800
Hey mw,
Yes, class-dump is a cool tool, but it is a negative example of what I
am looking for since it can only reveal the objc runtime data
structures which lack much the information I need, and in some cases
provides too much information.
For example, class-dump can show me that NSObject implements
-debugDescription, but it will not indicate that this is a private
method, not defined in Foundation/NSObject.h. Also, class-dump shows
that -description returns id, but not that it is strongly typed to
(NSString *). This additional information has a drastic impact on the
kinds of tests which would be interesting for a given interface.
Thanks anyway,
--Dan
On Sunday, February 2, 2003, at 11:22 AM, mw wrote:
Well, class-dump is the program to use if you need to see what the
header
information for any precompiled objc binary looks like (such as the
@interface and all of the iVars and methods for each class). Just
Google for
"class-dump" to find it.
mw
--
"Software exists to solve your problems. We exist to make the
problems."
Microsoft
On 2/2/03 1:07 PM, "Daniel Zitter" <email@hidden> wrote:
Hi,
I need to generate test code for a huge number of Objective-C classes.
Does anyone know of an implementation of an Objective-C header parser
which is publicly available?
I considered walking the objc runtime data structures, but this
approach isn't sufficient because there is no good way to separate the
public API from the private API once it has been 'distilled' down.
(The
type information gets watered down a bit too).
Alternately, is anyone aware of APIs to walk the structures of a
pre-compiled header as I think this would be equivalent, and in some
respects superior, to header parsing for my purposes.
Thanks,
Dan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.