In the on_load method of HomeScreen class i want to do something like rmq.append(LoginScreen, :login_form). LoginScreen inherits from PM::FormScreen.
Since I am not implementing initWithFrame in LoginScreen the app crashes.
This has been done in http://jamonholmgren.com/getting-started-with-motionkit-and-promotion/ but with motion kit. How can I achieve the same with rmq?
You're going to need to create an instance of the screen and then add its view.
The
addChildViewController
ensures that lifecycle events are properly called onLoginScreen
.