CXGradientView 0.0.2

CXGradientView 0.0.2

测试已测试
Lang语言 Obj-CObjective C
许可 MIT
发布最后发布2014年12月

Daniel Clelland维护。



  • 作者
  • Daniel Clelland

超基本的 UIView/CAGradientLayer 类。使用 CATransaction 动画。

CXGradientView *gradientView = [[CXGradientView alloc] initWithFrame:self.view.bounds];

gradientView.colors = @[[UIColor redColor], [UIColor whiteColor], [UIColor blueColor]];

[self.view addSubview:gradientView];