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

why not add a method just like 'map:(NSString *)format toController:(NSString *)controllerClass' #43

Open
lmule opened this issue Mar 7, 2016 · 1 comment

Comments

@lmule
Copy link

lmule commented Mar 7, 2016

hi man ,
why not add a method just like 'map:(NSString *)format toController:(NSString *)controllerClassName', so that the user don't need to add 'import "ControllerClass.h"'
3ks

@marciniwanicki
Copy link

Then you will loose compilation-time type check. Pointing directly to a class type or even better to a factory class is more safe then passing a string.

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