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
my injection doesn't work #93
Comments
The same problem came up to me. And the outputs in the console are similar to yours. |
Normally this is becuase the ViewController has not been reloaded. |
ctrl + = didn't make ViewController reload.I must try command + R. |
Injection changes the code but it needs to be re-executed i.e. -viewDidLoad needs to be called again. You could add a -injected method to the view controller and have it call -viewDidLoad for testing. |
Thank you very much.You save my life:) |
why close? I can't solve this problem, help... |
just do that,then it works. |
Maybe u can install injection once again,then use command + q to close Xcode and reopen Xcode. |
I have met the similar issue about that do not work in a UIView class when adjust some properties on xcode7.2. And I solved through changed method in -(void)injection. But it is not flexible. I really expect that code change everywhere and all will worked by "control+=". |
@lingang009 It is not flexible, but thank you! It improves the efficiency! |
People on this thread, maybe it might be a good idea to ask someone with good english and chinese skills to work on a translation of the README/docs? |
i have the same problem, my Xcode version is 7.2. it can refresh UI Class HomeViewController is implemented in both |
The message is a warning. Add an NSLog to see if -injected gets called. |
yes ,it is called. i just don't understand this message: |
The warning comes from the runtime. You can ignore it. Injection does the right thing. |
i change the self.title's name,and then i press shift + control + = ,then,the window became empty log is here |
You are using “inject and reset” by mistake whicih doesn’t always work. Use "control - =" not "control - shift - =" |
@lingang009 |
I just change the text of uilabel for test.
I don't understand.
Can you help me fix that issue
The text was updated successfully, but these errors were encountered: