Latest 0.0.1
Homepage https://github.com/JokerKin/KnightStarRating
License MIT
Platforms ios 8.0, requires ARC
Authors

一个五星评分
使用方法如下

    _starRating.backgroundColor  = [UIColor whiteColor];
    _starRating.normalImage = [UIImage imageNamed:@"img-xing-gray"];
    _starRating.selectImage = [UIImage imageNamed:@"img-xing-blue"];
    _starRating.maxRating = 5.0;
    _starRating.delegate = self;
    _starRating.horizontalMargin = 0;
    _starRating.editable = NO;
    _starRating.rating = 2.5;
    _starRating.displayMode = KnightStarRatingDisplayHalf;

Latest podspec

{
    "name": "KnightStarRating",
    "version": "0.0.1",
    "summary": "An easy way to use frame",
    "homepage": "https://github.com/JokerKin/KnightStarRating",
    "license": "MIT",
    "authors": {
        "JokerKin": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/JokerKin/KnightStarRating.git",
        "tag": "0.0.1"
    },
    "source_files": [
        "KnightStarRating",
        "KnightStarRating/**/*.{h,m}"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This