ios - How to make slide out menu with out storyboard? -


first thing want tell i dont have storyboard. want make slide out menu. did slide out menu storyboard, link, in real project have no storyboard. i'm using swrevealviewcontroller.

i import swrevealviewcontroller project. can me? stopped problem, have solve this

you can achive using btsimplesidemenu

https://github.com/balram3429/btsimplesidemenu

it in objective c, using bridge can achieve easily.

just import in bridge file. #import "btsimplesidemenuclass.h"

then

var objbtsimplesidemenuclass = btsimplesidemenuclass()  // noofitems - array title , image  func setupsideoutmenu() {     global.sharedinstance.writetolog(optionalvalue: "")      objbtsimplesidemenuclass.delegate = self      let ary : nsmutablearray = []      var = 0; < noofitems.count; i++     {         let item = btsimplemenuitemclass.init(title: noofitems[i].valueforkey("itemname") as! string, image: noofitems[i].valueforkey("itemimage")) { (success, item) -> void in          }          ary.addobject(item)     }      let swiftarray = ary nsarray      objbtsimplesidemenuclass =  btsimplesidemenuclass.init(item: swiftarray [anyobject], addtoviewcontroller: self)  } 

Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -