SWRevealViewController icon indicating copy to clipboard operation
SWRevealViewController copied to clipboard

Swrevealviewcontroller issue

Open langsem opened this issue 7 years ago • 16 comments

Hi i have some problem with segues in swreveal. I am making a chat app and i have a Login VC that i want a certaint function to be made. Like when i click hit register or Login button i want it to segue to the sw_front view controllee. But i cant seen to be able to do that. So my question is How do you segue from a normal VC to a swrevealviewcontroller

langsem avatar Oct 19 '17 05:10 langsem

Nothing special is required, just segue to SWRevealViewController (i.e push or present modally). SWRevealViewController will present the front view controller after that.

iDevelopper avatar Oct 19 '17 11:10 iDevelopper

Could i send you my project or some screenshot? I dosent work

langsem avatar Oct 19 '17 17:10 langsem

Yes upload your project here.

iDevelopper avatar Oct 20 '17 00:10 iDevelopper

https://github.com/langsem/Melony

So i want to make a action on the Login button to segue to the main menu VC and same for register button in register VC to segue to the main vc

langsem avatar Oct 20 '17 05:10 langsem

There is nothing in this project. No LoginViewController, no menu view controller, no front view controller, no SWRevealViewController???

iDevelopper avatar Oct 20 '17 12:10 iDevelopper

Oh forgot to push haha

langsem avatar Oct 20 '17 12:10 langsem

Ok waiting and I'll have a look

iDevelopper avatar Oct 20 '17 13:10 iDevelopper

Thanks

langsem avatar Oct 20 '17 13:10 langsem

https://github.com/langsem/Melony

langsem avatar Oct 20 '17 14:10 langsem

this should be the one :)

langsem avatar Oct 20 '17 14:10 langsem

No I don't think so! Nothing in storyboard, no button on login, no actions, no IBOutlet ... Download the GitHub project and test it.

iDevelopper avatar Oct 20 '17 14:10 iDevelopper

this one should work https://github.com/langsem/Melony

langsem avatar Oct 20 '17 14:10 langsem

Can you give me your email address?

iDevelopper avatar Oct 21 '17 23:10 iDevelopper

I made it work Thanks :)

langsem avatar Oct 22 '17 09:10 langsem

Ok great, however I send you MenuVC for your logout method:

MmenuVC.swift.zip

iDevelopper avatar Oct 22 '17 12:10 iDevelopper

Great Thanks !

Sendt fra min iPhone

  1. okt. 2017 kl. 14:14 skrev Patrick <[email protected]mailto:[email protected]>:

Ok great, however I send you MenuVC for your logout method:

MmenuVC.swift.ziphttps://github.com/John-Lluch/SWRevealViewController/files/1404863/MmenuVC.swift.zip

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/John-Lluch/SWRevealViewController/issues/748#issuecomment-338472774, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AaCoDdG-DKhIZdpqVOEtulA5OQdH-gh9ks5suzGPgaJpZM4P-tqI.

langsem avatar Oct 22 '17 12:10 langsem