[翻译] TGLStackedViewController
TGLStackedViewController
A stack layout with gesture-based reordering using UICollectionView -- inspired by Passbook and Reminders apps.
这是一种使用了UICollectionView,基于手势重新排版的抽屉布局,灵感来自于Passbook以及提醒app。
Getting Started
Take a look at sample project TGLStackedViewExample.xcodeproj
.
请查看demo程序。
Usage
Via CocoaPods: 用CocoaPods安装
- Add
pod 'TGLStackedViewController', '~> 1.0'
to your project'sPodfile
Or the "classic" way: 或者将文件夹拖入到你的工程当中
- Add files in folder
TGLStackedViewController
to your project
Then in your project: 然后在你的工程中
- Create a derived class from
TGLStackedViewController
and overwrite method-moveItemAtIndexPath:toIndexPath: 继承并重写一个方法
- Implement
UICollectionDataSource
(currently only 1 section supported) andUICollectionViewDelegate
protocols 实现两个协议 - Place
UICollectionViewController
in your storyboard and set its class to your derived class 在storyboard中进行一些设置
Requirements
- ARC
- iOS >= 6.0
- Xcode 5
附录:
转载于:https://www.cnblogs.com/YouXianMing/p/3801749.html
[翻译] TGLStackedViewController相关推荐
- Mysql函数group_concat、find_in_set 多值分隔字符字段进行数据库字段值翻译
Mysql函数group_concat.find_in_set进行数据库字段值翻译 场景 配方表:记录包含的原料 sources表示原料,字段值之间用逗号分隔 原料表:对应原料id和原料名称 现需要查 ...
- “Attention is All You Need 翻译
<p><img src="output_0_0.png" alt="png"></p> "Attention is ...
- 基于PyTorch的Seq2Seq翻译模型详细注释介绍(一)
版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明. 本文链接:https://blog.csdn.net/qysh123/article/deta ...
- 全文翻译(全文合集):TVM: An Automated End-to-End Optimizing Compiler for Deep Learning
全文翻译(全文合集):TVM: An Automated End-to-End Optimizing Compiler for Deep Learning 摘要 人们越来越需要将机器学习应用到各种各样 ...
- 全文翻译(四) TVM An Automated End-to-End Optimizing Compiler
全文翻译(四) TVM An Automated End-to-End Optimizing Compiler 6.3 嵌入式GPU评估 对于移动GPU实验,在配备ARM Mali-T860MP4 G ...
- 全文翻译(三) TVM An Automated End-to-End Optimizing Compiler
全文翻译(三) TVM An Automated End-to-End Optimizing Compiler 5. 自动化优化 考虑到一组丰富的调度原语,剩下的问题是为DL模型的每一层,找到最佳的算 ...
- 全文翻译(二): TVM: An Automated End-to-End Optimizing Compiler for Deep Learning
全文翻译(二): TVM: An Automated End-to-End Optimizing Compiler for Deep Learning 3.优化计算图 计算图是在DL框架中表示程序的常 ...
- 全文翻译(一):TVM: An Automated End-to-End Optimizing Compiler for Deep Learning
全文翻译(一):TVM: An Automated End-to-End Optimizing Compiler for Deep Learning 摘要 人们越来越需要将机器学习应用到各种各样的硬件 ...
- YOLOv4全文阅读(全文中文翻译)
YOLOv4全文阅读(全文中文翻译) YOLOv4: Optimal Speed and Accuracy of Object Detection 论文链接: https://arxiv.org/pd ...
最新文章
- 一个颠覆性答案,登上《科学》封面:是什么弄破了这些泡泡? | 科学GIF
- ubuntu配置Android指南
- ASCII码表在线查询进制转换
- 【theano-windows】学习笔记十九——循环神经网络
- android object数组赋值_Java对象数组定义与用法详解
- [C#参考]字符编码
- 用xib自定义UIView并在代码中使用--iOS
- Linux内核信号量:二值信号量/互斥信号量,计数信号量,读写信号量
- 【POJ2386】Lake Counting
- 如何用sql语言只获得数据库当前日期,且格式为yyyy-mm-dd?
- 关闭WPS热点及广告推送
- VSCode C++ control reaches end of non-void function [-Wreturn-type]
- 天池比赛:工业蒸汽量预测
- 微信小程序服务器和app互通,解读:App 与小程序的互通能力和限制
- python之json.loads()报错ValueError: No JSON object could be decoded解决
- jQuery雪花插件JQuery-Snowfall Plugin
- html自学网页制作,HTML入门学习教程:简单网页制作
- 运动世界校园 校园跑 不想跑步人的福利
- 碳排放权、碳交易日度数据分部门、能源碳排放面板数据
- 自适应均衡器的研究与仿真设计
热门文章
- 实现基于 ASP.NET Forms 身份验证的跨子域单点登录
- ASP.NET WebForm Best Practice 之PostBack
- 面试题 04.03. 特定深度节点链表
- LeetCode4. 寻找两个有序数组的中位数
- AMBERT!超越BERT!多粒度token预训练语言模型
- Layer2匿名交易协议ZKCHAOS与跨链资产桥ChainSwap合作促进跨链隐私保护
- 路印zkRollup AMM将在月底启动流动性挖矿
- 软件工程第二次课课堂总结
- 228 Summary Ranges 汇总区间
- root用户安装的软件在普通用户不生效