Latest 0.0.3
Homepage https://github.com/ShawEw/ScoreProgressView
License MIT
Platforms ios 9.0, requires ARC
Frameworks Foundation, UIKit
Authors

自定义分值显示进度条

效果图

使用方法

cocoapods

pod ‘ScoreProgressView’

代码使用

```
ScoreProgressModel *model = [[ScoreProgressModel alloc] init];
model.finalScore = 80;//最终得分
model.info = [NSString stringWithFormat:@"我的系统活跃指数:%ld",model.finalScore];
model.minScore = 0;//最低分
model.maxScore = 100;//最高分
model.progressColor = APP_MAIN_COLOR;//系统颜色值
model.scoreFont = 13;//分数字体大小
model.bgHeight = 15;//进度条高度
ScoreProgressView *view = [[ScoreProgressView alloc] initWithFrame:CGRectMake(0, 100, SCREEN_WIDTH, 150) model:model];
[self.view addSubview:view];
```

Latest podspec

{
    "name": "ScoreProgressView",
    "version": "0.0.3",
    "summary": "u81eau5b9au4e49u6a2au5411u663eu793au5206u6570u8fdbu5ea6view",
    "description": "u81eau5b9au4e49u6a2au5411u663eu793au5206u6570u8fdbu5ea6viewuff0cu901au8fc7modelu63a7u5236viewu7684u663eu793a",
    "homepage": "https://github.com/ShawEw/ScoreProgressView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "jiangjunhui": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/ShawEw/ScoreProgressView.git",
        "tag": "0.0.3"
    },
    "source_files": "ScoreProgressView/ScoreView/**/*.{h,m}",
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This