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

KnightStarRating

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

    _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 = JKStarRatingDisplayHalf;

Latest podspec

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

Pin It on Pinterest

Share This