-
Notifications
You must be signed in to change notification settings - Fork 268
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
View controller inject using initializer with storyboard #270
Comments
Something similar happened to me with the appDelegate, only property injection worked. Maybe because we don't have control over the instance creation. |
Hi @7ynk3r Juan, If I understood the question correctly, this answer on Stack Overflow should help: http://stackoverflow.com/a/24227246/404201 And the applicable section in this user guide: https://github.com/typhoon-framework/Typhoon/wiki/Types-of-Injections#injecting-objects-produced-by-other-components Does this work for you? Feel free to ask questions of a general nature on StackOverflow. . if need be, from there we can raise a new Feature or Bug ticket in Github. |
Hi @jasperblues, thanks for the prompt response. I've added my question with clarifications in stackoverflow. |
Great, I saw the question and good answer on SO. |
I'm almost sure that is not possible but just to get the confirmation.
I want to use an initializer for a view controller as follow:
But I want to create it using a storyboard.
Is this possible? It worked with property injection.
The text was updated successfully, but these errors were encountered: