github下载网址 https://github.com/Tibolte/TGDrawSvgPathView

 

TGDrawSvgPathView

an IOS helper class to draw animated paths from SVG files

iOS项目开发中SVG动态绘制

Usage

TGDrawSvgPathView *tgView = [[TGDrawSvgPathView alloc] initWithFrame:CGRectMake(40.0, 70.0, 250.0, 250.0)];
[tgView setPathFromSvg:@"cloud" strokeColor:[UIColor blackColor] duration:2.0];
[self.view addSubview:tgView];


Requirements

ARC and iOS7

Using CocoaPods

TGDrawSvgPathView is available through CocoaPods, to install it simply add the following line to your Podfile:

pod "TGDrawSvgPathView"


Manual

Download the project and add the folder Classes containing the classes TGDrawSvgPathView and PocketSVG to your project.

Author

Thibault Guégan, thibault.guegan@gmail.com Linkedin: https://www.linkedin.com/profile/view?id=93515047

 

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-01
  • 2022-12-23
  • 2021-05-07
  • 2022-12-23
  • 2022-02-27
猜你喜欢
  • 2022-12-23
  • 2021-10-08
  • 2022-12-23
  • 2021-07-13
  • 2021-11-17
  • 2021-05-21
  • 2021-07-26
相关资源
相似解决方案