Skip to content

Jcdroid/JCSwitchTextView

Repository files navigation

JCSwitchTextView

仿小米应用商店搜索框文字切换的View,基于UIView使用CALayer实现。

demo gif


Usage

Creation of a JCSwitchTextView

JCSwitchTextView *switchTextView = [[JCSwitchTextView alloc] initWithFrame:CGRectMake(10, 40, kScreenWidth - 2 * 10, 40) iconImage:[UIImage imageNamed:@"search"] textArray:textArray timeInterval:2.0];
[self.view addSubView:switchTextView];

License

See LICENSE file for details.

About

仿小米应用商店搜索框文字切换的View,基于UIView使用CALayer实现。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published