Latest 0.1.1
Homepage https://github.com/RylanJIN/RJBadgeKit
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

RJBadgeKit is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'RJBadgeKit'

Introduction

RJBadgeKit是一套完整的小红点解决方案,使用场景为App某个功能块有内容更新或有未读消息时右上角会有小红点提示。RJBadgeKit支持小红点数字显示两种形式,小红点也可以是自定义图片。 另外,提供多层级小红点的关联显示逻辑,比如微信tab上的小红点显示数字为聊天列表里未读消息的总和,只有所有未读消息都清空的情况下tab上的小红点才会消失。

image

RJBadgeKit的小红点所支持的路径格式为root.xx.xx, 其中root为默认的根路径。如下图所示,root.first为子路径,root.second为同级子路径。root的小红点显示为

image

Useage

Author

Ryan Jin, [email protected]

License

RJBadgeKit is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "RJBadgeKit",
    "version": "0.1.1",
    "summary": "Red dot (version/message reminder) display and its management.",
    "description": "A complete and lightweight solution for red dot (version/message reminder) display and its management.",
    "homepage": "https://github.com/RylanJIN/RJBadgeKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Ryan Jin": "[email protected]"
    },
    "source": {
        "git": "https://github.com/RylanJIN/RJBadgeKit.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "RJBadgeKit/Classes/**/*"
}

Pin It on Pinterest

Share This