Latest 0.1.9.1
Homepage https://github.com/xiaoerlong/TRKit
License MIT
Platforms ios 8.0
Dependencies AFNetworking, MJRefresh, MBProgressHUD, YYKit
Frameworks UIKit, Foundation
Authors

CI Status
Version
License
Platform

Example

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

Requirements

Installation

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

pod 'TRKit'

自己封装的项目中的常用组件,待持续完善。。。

分类

UIScrollView+TRRefresh

基于MJRefresh的二次封装
指定对应的target和action就可以给scrollView添加刷新方法,后续添加更多的自定方法,方便调用

/// 设置默认的下拉刷新
- (void)setNormalHeaderWithTarget:(id)target action:(SEL)action lastUpdateTimeKey:(nullable NSString *)lastUpdateTimeKey;
/// 设置默认的上拉刷新
- (void)setNormalFooterWithTarget:(id)target action:(SEL)action;

Author

xiaoerlong, [email protected]

License

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

Latest podspec

{
    "name": "TRKit",
    "version": "0.1.9.1",
    "summary": "podu7ec4u4ef6u5e93",
    "description": "TODO: Add long description of the pod here.",
    "homepage": "https://github.com/xiaoerlong/TRKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "xiaoerlong": "[email protected]"
    },
    "source": {
        "git": "https://github.com/xiaoerlong/TRKit.git",
        "tag": "0.1.9.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "TRKit/Classes/**/*",
    "resource_bundles": {
        "TRKit": [
            "TRKit/Assets/*.png"
        ]
    },
    "frameworks": [
        "UIKit",
        "Foundation"
    ],
    "dependencies": {
        "AFNetworking": [],
        "MJRefresh": [],
        "MBProgressHUD": [],
        "YYKit": []
    }
}

Pin It on Pinterest

Share This