Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked from nst/objc_cover

Quick Python script over otool to help spotting potentially unused methods in Objective-C Mach-O executable files

Notifications You must be signed in to change notification settings

theoneab/objc_cover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

10 Commits

Repository files navigation

Say you have this Objective-C code:

- (void)notUsed {
	return;
}
- (void)actuallyUsed {
	return;
}
// ...
[self actuallyUsed];

Thanks to /usr/bin/otool, you can get clues about potentially unused methods, like this:

$ python objc_cover.py /Users/nst/Desktop/iCalReport 
# the following methods may be unreferenced
-[MyClass notUsed]

The idea was put first by "Luke the Hiesterman" on the Apple Objective-C list.

About

Quick Python script over otool to help spotting potentially unused methods in Objective-C Mach-O executable files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%

AltStyle によって変換されたページ (->オリジナル) /