On button click show slider menu or setting view from bottom of the view
Steps
-
Add these two files in your project -> SliderMenu.swift -> SliderMenuCell.swift
-
Inside your viewdidload method of viewcontroller file add this method -> setupNaBar()
-
Add this code snippet in your viewcontroller file
-> let sliderMenu: SliderMenu = { let sm = SliderMenu() return sm }()
- Inside your button click mehtod add this line
-> sliderMenu.showSliderMenu()