Latest 1.0.0.1
Homepage https://github.com/shanghaiMichael/DYYFloatWindow
License Copyright (c) 2016年 Yangyang Du. All rights reserved.
Platforms ios
Authors

这是一个iOS上的悬浮窗

This is a Float Window in iOS

Get Start

Using [CocoaPods] to get start, you can add following line to your Podfile:

pod 'DYYFloatWindow'

Using it

For using DYYFloatWindow, it’s very simple:

DYYFloatWindow *floatWindow = [[DYYFloatWindow alloc]initWithFrame:CGRectMake(0, 200, 50, 50) mainImageName:@"ccc.png" imagesAndTitle:@{@"ddd":@"用户中心",@"eee":@"退出登录",@"fff":@"客服中心"} bgcolor:[UIColor lightGrayColor] animationColor:[UIColor purpleColor]];

floatWindow.clickBolcks = ^(NSInteger i){
    //do something;
};

Latest podspec

{
    "name": "DYYFloatWindow",
    "version": "1.0.0.1",
    "summary": "DYYFloatWindow is a Float Window in iOS.",
    "homepage": "https://github.com/shanghaiMichael/DYYFloatWindow",
    "license": "Copyright (c) 2016u5e74 Yangyang Du. All rights reserved.",
    "authors": {
        "Yangyang Du": "[email protected]"
    },
    "platforms": {
        "ios": null
    },
    "source": {
        "git": "https://github.com/shanghaiMichael/DYYFloatWindow.git",
        "tag": "1.0.0.1"
    },
    "source_files": [
        "DYYFloatWindow",
        "DYYFloatWindow/**/*.{h,m}"
    ]
}

Pin It on Pinterest

Share This