nst / objc_dep

Graph the import dependancies in an Objective-C project
1.35k stars 144 forks source link

Add option to exclude categories #8

Closed delebedev closed 10 years ago

delebedev commented 11 years ago

I think it will be great to have such option, what do you think? If you agree, I'll start working on pull request

delebedev commented 11 years ago

Update: I see there is option to exclude classes by regex, but in my opinion it will be better just to ignore classes which have '+' sign by proposed option

regexident commented 10 years ago

Introducing such a filtering logic based on un-written conventions is a bad idea, imho, as the possible drawbacks it introduces exceed the value of convenience by far.

Limiting the filenames to those with a proper three-letter prefix would be just as bad. Well, actually less so, as for the latter we at least have an official (yet not enforced) rule from Apple.

Many Categories use +, but not all. And there may actually be classes with +. For who-knows-whatever-reason.

nst commented 10 years ago

I have to agree with regexident. Filtering categories by hand will be less error prone.