Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 384 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 384 Bytes

CircleShape

转载请注明出处

使用说明:

  1. 将文件拖到工程内,引入头文件

#import "CircleShapeView.h"

  1. 调用initWithFrame初始化方法

CircleShapeView *view = [[CircleShapeView alloc]initWithFrame:CGRectMake(0, 44, 200, 200)];

  1. 调用方法:

[view drawCircleShape];

  1. 添加到父视图

[self.view addSubview:view];