Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repetitive Code #27

Open
caughtinflux opened this issue Feb 2, 2014 · 1 comment
Open

Repetitive Code #27

caughtinflux opened this issue Feb 2, 2014 · 1 comment

Comments

@caughtinflux
Copy link

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants