用法
////控制隐藏
//-(void) hiddenLeftMenuView{
// [UIView animateWithDuration:leftMenuView.interval animations:^{
// self.navigationController.navigationBar.alpha = 1;
// }];
// [leftMenuView hiddenTime];
//}
/////控制出现
//-(void) showLeftMenuView{
// [UIView animateWithDuration:leftMenuView.interval animations:^{
// self.navigationController.navigationBar.alpha = 0;
// }];
// [leftMenuView showTime];
//}
////创建
//-(void) leftMenuView{
// leftMenuView = [DrawLeftMenuView defaultInitWithFrame:[UIScreen mainScreen].bounds Delegate:self DataSecoure:dataSource];
// [self.view addSubview:leftMenuView];
// [leftMenuView hiddenTime:0.05];
//}
////实现代理,获取点击的位置
//-(void) DrawLeftMenuViewDelegateDidSelectionIndePath:(NSIndexPath *)indexPath DataScoureKey:(NSInteger)key {
// [self hiddenLeftMenuView];
//}
////ViewController将要消失
//-(void)viewWillDisappear:(BOOL)animated {
// [super viewWillDisappear:animated];
// [UIView animateWithDuration:0.1 animations:^{
// menuButton.alpha = 0;
// } completion:^(BOOL finished) {
// [menuButton removeFromSuperview];
// }];
//}
下载代码