Re: How to locate which are not declared in header methods
Re: How to locate which are not declared in header methods
- Subject: Re: How to locate which are not declared in header methods
- From: Steve Cronin <email@hidden>
- Date: Thu, 13 May 2010 16:09:51 -0500
> Fritz;
>
> Thanks for the response and sorry for my lack of clarity.
>
> I have a class that is already written (14K lines of code). I've been asked to clean it up.
>
> 1) I would like to generate a list of every method in the implementation section
> 2) I'd then like to subtract away from this list every method which is listed in the interface
> The final list would be a list of methods which exist in the implementation but are not stated in the interface.
>
> A tool to do the heavy lifting of separating the code out is beyond what I'm requesting but I won't refuse such a tool!!
>
> Right now I don't have a handle on how much 'private' code there is in this class…..
>
> Are there any techniques for accomplishing my goal.
> Steve
>
>
>
On May 13, 2010, at 3:12 PM, Fritz Anderson wrote:
> On 13 May 2010, at 2:25 PM, Steve Cronin wrote:
>
>> Is there a technique for isolating methods which exist in an @implementation file but are not declared in the @interface file.
>
> What do you mean by "isolating?" Do you mean being able to privately set aside the private API in a category / extension?
>
> <http://developer.apple.com/mac/library/documentation/cocoa/conceptual/objectivec/Articles/ocCategories.html>
>
> Or are you asking whether there's a tool that detects @implementation API that isn't in an @interface, and culls them into a category / extension? That would be a dynamite facility, but I'm not aware of a tool that does it. I'm going to file a feature request against Xcode (7980748).
>
> — F
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden