ColorfulWoodPoint 1.0.7

ColorfulWoodPoint 1.0.7

ColorfulWood 维护。



  • ColorfulWood

ColorfulWoodPoint

1. 在已有视图的四个角增加点或者数字

设置字体颜色:m_color 属性

2. 导入说明

使用 Cocoapod

pod 'ColorfulWoodPoint'                    

3. 使用示例

ColorfulWoodPoint图片

UIButton *button = [[UIButton alloc] initWithFrame:CGRectMake(100, 100, 100, 100)];
button.backgroundColor = [UIColor redColor];
[self.view addSubview:button];

ColorfulWoodPointView *pointView0 = [[ColorfulWoodPointView alloc] init];
pointView0.m_offset = 15.;
[pointView0 interface_showTargetView:button forCount:88 location:CWPV_LEFT_TOP];

ColorfulWoodPointView *pointView = [[ColorfulWoodPointView alloc] init];
pointView.m_color = [UIColor blueColor];
pointView.m_offset = 5.;
[pointView interface_showTargetView:button forCount:-1 location:CWPV_RIGHT_TOP];


ColorfulWoodPointView *pointView1 = [[ColorfulWoodPointView alloc] init];
pointView1.m_offset = 15.;
[pointView1 interface_showTargetView:button forCount:88 location:CWPV_LEFT_BOTTOM];


ColorfulWoodPointView *pointView2 = [[ColorfulWoodPointView alloc] init];
pointView2.m_offset = 15.;
[pointView2 interface_showTargetView:button forCount:88 location:CWPV_RIGHT_BOTTOM];