-
Notifications
You must be signed in to change notification settings - Fork 119
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
Dynamic number of steps #23
Comments
Hai @CooperRS . Thank you for the reply.I have a hierarchy of view Controllers and I wanted to move to any branch in the view controller list.So the number of view controllers are dynamic. |
Your could save the data into the |
Every RMStepsController has a property called
|
self.stepsController is only for the actual steps view controllers non nil. If you want the view controller, which is presenting the RMStepsController, to assign some data to the results dictionary then you need to do this in You may take a look at the answer to this (http://stackoverflow.com/questions/7864371/ios-how-to-pass-prepareforsegue-an-object) question, if you need additional information on how to pass data to the presented view controller from a presenting view controller. |
This sounds like |
can you refer me some dynamic step controllers.please. |
Hi @CooperRS I got an exception saying "Exception is Could not find a navigation controller for segue 'ScenestoSubscenes'. Push segues can only be used when the source controller is managed by an instance of UINavigationController." |
The error looks like your have a Segue called Unfortunately, I do not know any step controllers like mine. In particular, if you need a dynamic number of steps. If you need that functionality now I am afraid you have to implement that for yourself :/... |
Hai @CooperRS I spent more than 15 days on this sample.I couldn't make my manager happy that it doesnt work as required.Could you please help me like in my requirement.I wanted the same project which takes a view controller from tableview didselectrow at indexpath. In did select row at index path i have to call perform segue which is push view controller.If i call nextsteptapped: wth that viewcontroller the application should take that view controller as childviewcontroller of RMStepsController.Please help me boss.we like the UI.we only need to acceptance and work now.Please help me. |
Hi @narasimhaiah23:
I think I did not fully understand your request :/.
Case 1:
Are you trying to dynamically change the content the view controllers of your steps are displaying? So let's say you are viewing the first step and then a network event occurs and you want to change the content of the first step?
In this case you could use a special view controller for the first step. This special view controller dynamically changes it's content view controller on an arbitrary event.
Case 2:
Are you trying to dynamically change the number of steps that are needed to finish the process after the steps controller has been presented?
This is not possible :/
For reference the original request:
Hai @CooperRS .. I want to pass viewcontrollers dynamically.Is it possible.?I am following this code in my customer application.Please help me in this issue.There is a method called -(NSArray *)stepViewControllers right? which will give viewcontrollers array.I need these viewcontrollers to be dynamic.At run time I have to check which viewcontroller we need i will pass that viewontroller.Please reply ASAP.
The text was updated successfully, but these errors were encountered: