Giter Site home page Giter Site logo

colorfulwoodpoint's Introduction

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];

colorfulwoodpoint's People

Contributors

gs01md avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.