Closed rary44 closed 8 years ago
Hi, can you upload an example project where you can reproduce this issue?
Please Find it above
this is an empty project.. i meant a project with some code that reproduces the issue...
i upload it again please check it i think the problem with the animation
First of all, thank you for a project that does not compile. The problem is not with the animation, the problem is with how you "architected" the code. You have an array of view controllers from which you exchange the view controllers among each other. The problem is as follows:
when you select the same index, you make a transition to the same view controller that is visible on screen (which btw, should not happen, you should put a guard indexPath != previousIndex else { return }
) and because you pass in the same view controller that is already embedded to the function embed(centerViewController:
the animation gets lost because there is one single view which should be animated both off and on screen.
Conclusion:
Don't embed the same controller that is already on screen.
P.S: update to version 0.1.3
Hello
Is it possible to create the whole project programmatically (nib files without storyboard)?
i'm facing a problem with step 4 👍
When i select any cell [view controller] more than one time , it's shows the slide menu table quickly and it disappear , why is that ?
Regards