[翻译] AnchoredFloatView
AnchoredFloatView
Float View over TableView to indicate selected row direction
Float View 可以用来指示 TableView 中被选择的cell.
This is a Float View to indicate the direction and quickly scroll up or down to the TableView selected Row.
Float View 这是用来标示选中的cell,点击它后可以快速的移动到被选中cell上.
It basically consists of a custom UILabel with one fixed UIImageView inside it, on the left.
Float View 是由自定义的UILabel与一个左侧固定的UIImageView组成的.
Features
- automatically update label frame and align it on TableView bottom center 自动更新label的frame值并居中
- quickly scroll up or down the tableView to the selected row on click 点击后快速移动到之前你选中的cell上
- nice splash animation 华丽的移动动画
- rotation compatible 兼容横竖屏
Installation
Grab the files in View/AnchoredFloatView
and put it in your project. The code uses ARC, so make sure to turn that on for the files if you're not already using ARC.
将AnchoredFloatView拖到你的项目当中.这份代码是由ARC,所以,你要确保切换到ARC上去.
Usage
import the header class on your tableViewController:
将以下头文件导入你的项目当中:
#import "AnchoredFloatView.h"
alloc/init the view on viewDidLoad passing tableView and the indexPath of the selectedRow by parameter:
初始化view,然后将tableView与被选中的indexPath传递给这个view:
AnchoredFloatView *floatView = [[AnchoredFloatView alloc] initWithTableView:self.tableView andTargetIndexPath:self.targetIndexPath]; [self.view addSubview:floatView];
Small Print
License
AnchoredFloatView
is released under the MIT license.
AnchoredFloatView遵循MIT协议.
Author
Carlos Arantes (@carantes)
[翻译] AnchoredFloatView相关推荐
- 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 ...
最新文章
- 。net面试题(2)
- 惊!空 struct 地址竟然不相等
- SAP CRM Fiori BP overview page design
- 如何处理My lead fiori应用的buffer问题
- 第六十九期: 漫画说算法之什么是一致性哈希?
- 远程计算机 函数不支持,win7远程桌面连接提示要求的函数不受支持怎么办
- newton法分形图
- [转载] Python基础知识:构造函数中self用法
- 文件服务器资源管理器无法在加载wmI对象,无法通过WMI
- 制作STM32F429的外部SPI-FLASH下载算法
- 基于javaweb+jsp的学生档案管理系统(JavaWeb JSP MySQL Servlet SSM SpringBoot Bootstrap)
- 复化辛浦生求积算法C++实现
- Win10家庭中文版( 连接远程桌面要求的函数不受支持、这可能是由于 CredSSP 加密 Oracle 修正 )
- 5项基因改造让你拥抱大财富
- Flatpak 不是未来
- 在Windows10操作系统中搭建ftp服务器
- 斗地主手牌(水贴ψ(*`ー´)ψ)
- Python课程第二天作业
- php收短信,PHP飞信接收短信类
- 关于挑战杯答辩的收获
热门文章
- 关于鸿蒙DevEco Studio学习
- 解决iview中</Input>标签报错的方法
- VS2012 无法启动IIS Express Web服务器的解决方案
- “MySQL 服务正在启动 . MySQL 服务无法启动。 服务没有报告任何错误。”的解决方案
- 如何设置Win11账户密码有效期?Win11账户密码使用期限设置教程
- c++ 函数当参数传参,类函数当参数传参,匿名函数当参数传参,function<void()>
- SVN删除某版本解决办法
- linux6.5双屏显示,Redhat 6.5的系统如何设置双显示屏,急急急!
- android studio手机与蓝牙收发数据_QT for Android :蓝牙
- 下列哪个python语句是正确的_Python笔试面试题_牛客(待完善)