Latest 1.0.0
Homepage https://github.com/AbooJan/AJToastHub
License MIT
Platforms ios 7.0, requires ARC
Dependencies pop
Authors
  1. 基于UIWindow的Toast和加载Hub。
  2. 主要解决键盘遮挡Toast的问题。
  3. 支持消息队列显示
  4. Hub也支持队列显示,如果当前已有一个Hub在显示,一个新的Hub需要显示时,会只显示最新那个Hub。
  5. Hub show 了多少次,就需要dismiss相等次数。谁创建了Hub,谁就要负责dismiss。

使用

pod 'AJToastHub'

支持3种位置显示

typedef NS_ENUM(NSInteger, ToastPosition)
{
    ToastPositionBottom,
    ToastPositionCenter,
    ToastPositionTop
};

截图

AJToastHub
AJToastHub

AJToastHub
AJToastHub

Latest podspec

{
    "name": "AJToastHub",
    "version": "1.0.0",
    "summary": "AJToastHubu662fu57fau4e8eUIWindowu7684Toastu548cu52a0u8f7dHubu7684u96c6u5408",
    "description": "AJToastHubu662fu57fau4e8eUIWindowu7684Toastu548cu52a0u8f7dHubu7684u96c6u5408uff0cu4e3bu8981u89e3u51b3u952eu76d8u906eu6321Toastu95eeu9898uff0cu652fu6301u6d88u606fu961fu5217u663eu793a.",
    "homepage": "https://github.com/AbooJan/AJToastHub",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "AbooJan": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/AbooJan/AJToastHub.git",
        "tag": "1.0.0"
    },
    "source_files": "AJToastHub/Classes/*.{h,m}",
    "requires_arc": true,
    "dependencies": {
        "pop": [
            "~> 1.0.8"
        ]
    }
}

Pin It on Pinterest

Share This