GTAppMenuController

https://github.com/gianlucatursi/GTAppMenuController

This is a simple project inspired by Paper application of Facebook.

这是一个很简单的工程,其效果来自于Facebook的Paper应用。

Trying Paper Facebook I am impressed by this seemingly Menu where the application appears in full screen, and then if you open the menu appears in the Status Bar.

试了下Paper的Facebook,我喜欢种整个菜单都在屏幕上显示的那个效果,通过从Status Bar下拉显示出来

How To Use - 如何使用

This is the most import piece of code: 以下是最为重要的代码:

    GTBackViewController *_back = [str instantiateViewControllerWithIdentifier:@"back"];

    self.backWindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.backWindow.rootViewController = _back;
[self.backWindow makeKeyAndVisible]; GTAppMenuController *_front = [str instantiateViewControllerWithIdentifier:@"front"];
self.frontWindow = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.frontWindow.rootViewController = _front;
self.frontWindow.windowLevel = UIWindowLevelStatusBar;
[self.frontWindow makeKeyAndVisible];

GTBackViewController is the UITableViewController with the cells.

GTBackViewController 是UITableViewController以及其cell的组合

GTAppMenuController is a UINavigationController(Why? i don't know, I thought it was better to use a navigation controller) and this is the purple view that captures the event of swipe.

GTAppMenuController 是一个UINavigationController(为什么?我也不知道,我想也许用导航栏控制器更合适)以及上图中的紫色的那个附带有swipe手势的view

It just needs some help from you guys. After that, here's my list:

当然,你也需要干些事情,以下是你需要做的事情:

  • When select a UITableViewCell push to other View (like Paper) 当选择了一个cell,push到其他view去
  • Testing 测试

最新文章

  1. jquery 控件赋值
  2. Resellerclub –Cpanel 主机中如何设置 index 缺省首页
  3. SQLServer事务
  4. Java Map 集合类简介
  5. TYVJ P1088 treat Label:鞭笞人的DP
  6. 关于HTTP GET请求的url中文参数编码
  7. js 定时器的使用。 setInterval()
  8. source 命令
  9. 244. Shortest Word Distance II
  10. 嵌入式Linux-linux连接脚本
  11. SqlServer 挂载本地盘符到服务器端,方面备份还原
  12. VC调用javascript的几种方法
  13. js 自己容易搞混的笔记查询
  14. Sqlite in Android
  15. Sipdroid实现SIP(六): SIP中的请求超时和重传
  16. Loadrunner 网页诊断图
  17. jstl--->Core 核心标签库->流程控制
  18. java枚举细节
  19. Java实现 中文转换成Unicode编码 和 Unicode编码转换成中文
  20. Android UI(五)云通讯录项目之联系人列表,带侧滑选择,带搜索框

热门文章

  1. PHP 中 strlen 获取中英 字符长度 以作以后对比使用
  2. Struts2 Servelet重构
  3. C#控件的Resize事件
  4. easyform表单校验插件改版源码
  5. Vue组件库
  6. Apache mod_rewrite
  7. 微信小程序——动画操作时,rpx 和 px 的转换计算。
  8. TabControl 选项卡控件
  9. DES c#加密后java解密
  10. Cheatsheet: 2017 10.01 ~ 12.31