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

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

 

 

 

相关文章:

  • 2022-01-24
  • 2021-09-25
  • 2021-09-26
  • 2021-06-16
  • 2022-12-23
  • 2021-04-20
  • 2022-12-23
猜你喜欢
  • 2021-12-20
  • 2022-12-23
  • 2022-12-23
  • 2021-12-08
  • 2022-12-23
  • 2021-08-01
相关资源
相似解决方案