SWRevealViewController icon indicating copy to clipboard operation
SWRevealViewController copied to clipboard

How to use multiple sw_front in a same project?

Open Saravana181187 opened this issue 7 years ago • 4 comments

In my application I have Implemented two way authentication(i.e) manager login and employee login, If manager login means I want navigate to Viewcontroller1 else employee login means I want to navigate viewcontroller2, Here my question is how to setup the multiple sw_front for two viewcontrollers, I Using Swift language for developing. Please can you make some sample for me.

Saravana181187 avatar Dec 28 '17 06:12 Saravana181187

By code

iDevelopper avatar Dec 28 '17 16:12 iDevelopper

How by code, Please can you explain or send that code?

Saravana181187 avatar Dec 29 '17 03:12 Saravana181187

By using the function:

        revealViewController().setFront(yourController, animated: true)

iDevelopper avatar Dec 30 '17 08:12 iDevelopper

ok thanks for your help.

Saravana181187 avatar Dec 30 '17 08:12 Saravana181187