Latest 1.0.4
Homepage https://github.com/QuintGao/GKMessageTool
License MIT
Platforms ios 8.0, requires ARC
Dependencies MBProgressHUD
Frameworks Foundation, UIKit
Authors

GKMessageTool 基于MBProgressHUD 1.0.0的简单封装工具类

支持CocoaPods: pod ‘GKMessageTool’

介绍:

1. GKMessageTool 是一个基于MBProgressHUD 1.0.0版本进行封装的工具类
2. 可以用一行代码实现iOS中常用的加载提示框,非常简单易用

方法:

GKMessageTool提供了以下几种方法

  1. 弹出成功框
/**
 显示成功
 */
+ (void)showSuccess:(NSString *)success;
+ (void)showSuccess:(NSString *)success toView:(UIView *)toView;
  1. 弹出失败框
/**
 显示失败
 */
+ (void)showError:(NSString *)error;
+ (void)showError:(NSString *)error toView:(UIView *)toView;
  1. 弹出加载框及因此加载框
    
    /**
    显示加载中
    */
    + (void)showMessage:(NSString *)message;
    + (void)showMessage:(NSString *)message toView:(UIView *)toView;

/*
隐藏加载中
/

  • (void)hideMessage;

更新:

1. 0.0.1版本:2017.01.22,首次发布

Latest podspec

{
    "name": "GKMessageTool",
    "version": "1.0.4",
    "summary": "u57fau4e8eMBProgressHUD 1.0.0 u7684u5c01u88c5u5de5u5177u7c7bGKMessageTool.",
    "homepage": "https://github.com/QuintGao/GKMessageTool",
    "license": "MIT",
    "authors": {
        "u9ad8u5764": "[email protected]"
    },
    "social_media_url": "https://github.com/QuintGao",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/QuintGao/GKMessageTool.git",
        "tag": "1.0.4"
    },
    "requires_arc": true,
    "source_files": "GKMessageTool/**/*.{h,m}",
    "public_header_files": "GKMessageTool/**/*.{h}",
    "resources": "GKMessageTool/GKMessageTool.bundle",
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "dependencies": {
        "MBProgressHUD": []
    }
}

Pin It on Pinterest

Share This