• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to locate which are not declared in header methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >How to locate which are not declared in header methods (From: Steve Cronin <email@hidden>)
 >Re: How to locate which are not declared in header methods (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: How to locate which are not declared in header methods
  • Next by Date: Re: Very basic question
  • Previous by thread: Re: How to locate which are not declared in header methods
  • Next by thread: Re: How to locate which are not declared in header methods
  • Index(es):
    • Date
    • Thread