xiangshun110 / XSToast

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MEDToast

CI Status Version License Platform

简介

本库可以用于iOS扩展程序

请看效果

video.mp4

使用

1.设置全局rootView

#import <XSToast/XSToastTool.h>

[XSToastTool share].rootView = [UIApplication sharedApplication].keyWindow;//可以是其他的view

2.使用

#import <XSToast/XSToastTool.h>

[[XSToastTool share] showToast:@"你好啊" second:1];

Example

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

Installation

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

pod 'XSToast'

Author

xiangshun, 113648883@qq.cn

License

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

About

License:MIT License


Languages

Language:Objective-C 92.0%Language:Ruby 6.9%Language:Shell 1.1%