Latest 0.0.1
Homepage https://github.com/shaveKevin/SKAirSandbox
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit
Authors

开发过程中实时查看沙盒的工具

集成方式

cocoapods

pod 'SKAirSandbox', '~> 0.0.1'

使用方式

当keywindow创建之后使用,可使用清扫手势。


#ifdef DEBUG
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        [[SKAirSandboxTool sharedInstance] enableSwipe];
    });
#endif

也可以自己单独触发。


#ifdef DEBUG
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        [[SKAirSandboxTool sharedInstance] enableAirSandboxTool];
    });
#endif

效果图:

图1

图2

作者:music4kid

项目原地址:AirSandbox

ps:原作者没有制作pod版本 这里给加一个。

Latest podspec

{
    "name": "SKAirSandbox",
    "version": "0.0.1",
    "summary": "ios developer  AirSandbox",
    "description": "SKAirSandboxnSKAirSandbox",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "homepage": "https://github.com/shaveKevin/SKAirSandbox",
    "authors": {
        "shavekevin": "[email protected]"
    },
    "social_media_url": "http://www.shavekevin.com",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "SKAirSandbox/**/*.{h,m}",
    "public_header_files": "SKAirSandbox/**/*.{h}",
    "source": {
        "git": "https://github.com/shaveKevin/SKAirSandbox.git",
        "tag": "0.0.1"
    },
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This