[翻译] LazyFadeInView 渐入显示text文本

简介:

LazyFadeInView 渐入显示text文本

https://github.com/itouch2/LazyFadeInView

LazyFadeInView is a cool way to animate the appearnce of a label. This effect is a clone of Secret app.

LazyFadeInView 非常酷,以一种动画的形式来显示一个label。与 Secret app 中的效果一样。

 

Usage

To use LazyFadeInView, create a LazyFadeInView and add it to your view. It will animate to show up once it's text is set.

使用 LazyFadeInView,创建一个LazyFadeInView,然后添加到你的view中。它会自动的用动画的形式显示出来。

An example of making a lazy fade in view:

以下是一个例子,教你如何创建以及使用的:

LazyFadeInView *fadeInView = [[LazyFadeInView alloc] initWithFrame:CGRectMake(20, 120, 280, 200)];
self.fadeInView.text = @"Stray birds of summer come to my window to sing and fly away.";
[self.view addSubview:self.fadeInView];

A Quick Peek

 

 

 

目录
相关文章
|
6月前
利用Spire实现对Word模板的指定文字替换(文字、图片、表格)
利用Spire实现对Word模板的指定文字替换(文字、图片、表格)
54 0
|
8月前
|
Web App开发 文字识别 JavaScript
强大的实况文本功能,直接复制图片上的文字(macOS)
用OCR软件,是很多人的选择。我曾经也给大家推荐过“天若OCR”软件,还有朋友在用吗?
191 0
|
9月前
|
定位技术
百度地图开发:Label文本居中
百度地图开发:Label文本居中
95 0
百度地图开发:Label文本居中
PyQt5 技术篇-plainTextEdit控件获得文本内容方法、设置文本内容方法。
PyQt5 技术篇-plainTextEdit控件获得文本内容方法、设置文本内容方法。
679 0
如何用C#显示竖排文字?
看这个题目,应该觉的这个问题不难,刚开始我也是这么想,可是目前我手头上的参考资料上没有一个介绍竖直显示文字的,上网查资料只发现一个有用的,可是实现起来比较麻烦,需要进行坐标转换,旋转,还得平移,没办法,为了实现下图Y方向坐标的标注,只好这样了
1153 0
|
图形学
unity3d曲线text文本
测试.png using System; using System.Collections.Generic; namespace UnityEngine.UI.Extensions { /// /// Curved text.让文本按照曲线进行显示 【注意对Image的变形 也是可以的】 /// 说明: 对Text的操作就和 shadow 和 outline 组件类似。
1355 0