Re: get class of a method
Re: get class of a method
- Subject: Re: get class of a method
- From: Dave <email@hidden>
- Date: Mon, 23 Feb 2015 17:09:49 +0000
> Build the table before compilation or at, store it in plists for each class and read the plist for each class to determine the expected return value for each method.
>
> Is that massive overkill, or does sound reasonable?
Hi,
That’s more or less what I did, in my LoggingDelux tool. I also saved the entry parameters in a plist file too along with other information such as the superclass of the object it was defined in. That way you can display the true types for native fields like BOOL, etc. and generate better logging information, conditional logging as well as auto-generating Test Cases and Code to Check them.
Cheers
Dave
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden