微笑永不打烊

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

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

 

TGDrawSvgPathView

an IOS helper class to draw animated paths from SVG files

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

 

 

posted on 2016-01-05 15:57  微笑永不打烊  阅读(896)  评论(0编辑  收藏  举报