//
//  XHToast.h
//  XHToastExample
//
//  Created by xiaohui on 15-6-15.
//  Copyright (c) 2015骞?qiantou. All rights reserved.
//  链接已屏蔽

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

@interface XHToast : NSObject

#pragma mark-涓棿鏄剧ず
/**
*  涓棿鏄剧ず
*
*  @param text 鍐呭
*/
+ (void)showCenterWithText:(NSString *)text;
/**
 *  涓棿鏄剧ず+鑷畾涔夊仠鐣欐椂闂? *
 *  @param text     鍐呭
 *  @param duration 鍋滅暀鏃堕棿
 */
+ (void)showCenterWithText:(NSString *)text duration:(CGFloat)duration;

#pragma mark-涓婃柟鏄剧ず
/**
 *  涓婃柟鏄剧ず
 *
 *  @param text 鍐呭
 */
+ (void)showTopWithText:(NSString *)text;
/**
 *  涓婃柟鏄剧ず+鑷畾涔夊仠鐣欐椂闂? *
 *  @param text     鍐呭
 *  @param duration 鍋滅暀鏃堕棿
 */
+ (void)showTopWithText:(NSString *)text duration:(CGFloat)duration;
/**
 *  涓婃柟鏄剧ず+鑷畾涔夎窛椤剁璺濈
 *
 *  @param text      鍐呭
 *  @param topOffset 鍒伴《绔窛绂? */
+ (void)showTopWithText:(NSString *)text topOffset:(CGFloat)topOffset;
/**
 *  涓婃柟鏄剧ず+鑷畾涔夎窛椤剁璺濈+鑷畾涔夊仠鐣欐椂闂? *
 *  @param text      鍐呭
 *  @param topOffset 鍒伴《绔窛绂? *  @param duration  鍋滅暀鏃堕棿
 */
+ (void)showTopWithText:(NSString *)text topOffset:(CGFloat)topOffset duration:(CGFloat)duration;

#pragma mark-涓嬫柟鏄剧ず
/**
 *  涓嬫柟鏄剧ず
 *
 *  @param text 鍐呭
 */
+ (void)showBottomWithText:(NSString *)text;
/**
 *  涓嬫柟鏄剧ず+鑷畾涔夊仠鐣欐椂闂? *
 *  @param text     鍐呭
 *  @param duration 鍋滅暀鏃堕棿
 */
+ (void)showBottomWithText:(NSString *)text duration:(CGFloat)duration;
/**
 *  涓嬫柟鏄剧ず+鑷畾涔夎窛搴曠璺濈
 *
 *  @param text         鍐呭
 *  @param bottomOffset 璺濆簳绔窛绂? */
+ (void)showBottomWithText:(NSString *)text bottomOffset:(CGFloat)bottomOffset;
/**
 *  涓嬫柟鏄剧ず+鑷畾涔夎窛搴曠璺濈+鑷畾涔夊仠鐣欐椂闂? *
 *  @param text         鍐呭
 *  @param bottomOffset 璺濆簳绔窛绂? *  @param duration     鍋滅暀鏃堕棿
 */
+ (void)showBottomWithText:(NSString *)text bottomOffset:(CGFloat)bottomOffset duration:(CGFloat)duration;

@end
// 鐗堟潈灞炰簬鍘熶綔鑰?// 链接已屏蔽
// 鍙戝竷浠g爜浜庢渶涓撲笟鐨勬簮鐮佸垎浜綉绔? Code4App.com