-
Notifications
You must be signed in to change notification settings - Fork 9
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
RxController storyboard support #4
Comments
RxViewController and RxViewModel based on generic class, I do not know how to set a class in the storyboard with such a style |
Without generic class, it is possible. |
Thanks for your quick return and it is very good to hear that I don't have to give up on RxController. But I couldn't make it:( How can I define viewmodel for viewcontroller without using generic class? And also navigation ? Could you send me a sample code/url or more detail please? |
With RxController, using storyboard directly is not allowed. class ViewController {
private let viewModel: ViewModel!
override func viewDidLoad() {
super.viewDidLoad()
viewModel = ViewModel()
}
|
In fact, compared to storyboard, I recommend you to use xib. |
Sorry for disturbing you but this is really urgent for me.
Unfortunately I have just now seen your suggestion about Snapkit and I already completed the storyboards.
It is very important for me that how can I initialize my viewcontrollers using storyboards? Is it possible?
Please let me know as soon as possible. Thank you so much!
The text was updated successfully, but these errors were encountered: