iSECPartners / Introspy-iOS

Security profiling for blackbox iOS
http://isecpartners.github.io/Introspy-iOS/
GNU General Public License v2.0
729 stars 176 forks source link

Repetitive Code #27

Open caughtinflux opened 10 years ago

caughtinflux commented 10 years ago

Wherever a new CallTracer is instantiated, wouldn't it be cleaner to simply use ...forClass:NSStringFromClass([self class]) andMethod:NSStringFromSelector(_cmd)]; ?

It could easily be macro'd out this way.

nabla-c0d3 commented 10 years ago

Yes the code is quite repetitive. We have some plans to make it nicer/smarter (and similar to Introspy-Android) but not sure when/if it's going to happen.