Drawer compared to everyone can often see, the advantages of needless to mention. Straight to the theme, Mmdrawercontroller (Https://github.com/mutualmobile/MMDrawerController) is I think a more useful drawer open source implementation.
Specific Use method
(1) Pod ' Mmdrawercontroller ', ' ~> 0.5.7 ', added in your podfile, and then run pod install to the Celestial network about a cup?? The kung fu will be OK.
(2) Introduction of the project
#import "MMDrawerController.h"
(3) Delegate
Uinavigationcontroller * Lnav=[[uinavigationcontroller alloc] INITWITHROOTVIEWCONTROLLER:TVC];
Uinavigationcontroller * Cnav=[[uinavigationcontroller alloc] INITWITHROOTVIEWCONTROLLER:TB];
Uinavigationcontroller * Rnav=[[uinavigationcontroller alloc] INITWITHROOTVIEWCONTROLLER:RTB];
Self.drawercontroller = [[Mmdrawercontroller alloc] Initwithcenterviewcontroller:cnav
Leftdrawerviewcontroller:lnav
Rightdrawerviewcontroller:nil];
(4) Simple configuration
[Self.drawercontroller setrestorationidentifier:@ "Mmdrawer"];
[Self.drawercontroller setmaximumrightdrawerwidth:200.0];
[Self.drawercontroller Setopendrawergesturemodemask:mmopendrawergesturemodeall];
[Self.drawercontroller Setclosedrawergesturemodemask:mmclosedrawergesturemodeall];
It's better to go long.
Use of drawer frame (RPM)