Latest 0.1.0
Homepage https://github.com/zhangxueyang/FBSandBoxBrowserManager
License MIT
Platforms ios 8.0
Dependencies GCDWebServer, GCDWebServer/WebUploader
Authors

说明

项目依赖于 ——- GCDWebServer

如果不想使用我的,可以自己用 GCDWebServer 自己弄!
  s.dependency 'GCDWebServer', '~> 3.0'
  s.dependency 'GCDWebServer/WebUploader', '~> 3.0'

  我只是用了这个第三方库, 自己使用方便!

使用

#ifdef DEBUG

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{
    // Override point for customization after application launch.
#ifdef DEBUG
  //使用的时候 左滑屏幕就可以出现开启服务的页面
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        [[FBSandBoxBrowserManager shanredSandBoxBrowserManager] swipShowServerPage];
    });
#endif
    return YES;
}

效果

Image text
Image text

找不到文件解决办法

pod 'FBObjcSugar'

-------------------------------------------------------------
如果遇到搜索不出来
Unable to find a pod with name, author, summary, or descriptionmatching 'xxxxxxx'。
-------------------------------------------------------------
解决办法:
1:(手动删除)
找到  ~/Library/Caches/CocoaPods  目录下的 search_index.json 文件,并删除
然后再
pod setup
成功后会生成新的
~/Library/Caches/CocoaPods/search_index.json文件。
-------------------------------------------------------------
2:终端输入以下命令(命令行)
rm ~/Library/Caches/CocoaPods/search_index.json
pod search
-------------------------------------------------------------

Latest podspec

{
    "name": "FBSandBoxBrowserManager",
    "version": "0.1.0",
    "summary": "u6d4fu89c8u5668u4e2du7ba1u7406u6c99u76d2u6587u4ef6",
    "description": "u53efu4ee5u5728u6d4fu89c8u5668u4e2du7ba1u7406APPu6c99u76d2u4e2du7684u6587u4ef6uff0cu5305u62ecu5220u9664.u6dfbu52a0 u79fbu52a8 u7b49u64cdu4f5c",
    "homepage": "https://github.com/zhangxueyang/FBSandBoxBrowserManager",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "zhangxueyang": "[email protected]"
    },
    "source": {
        "git": "https://github.com/zhangxueyang/FBSandBoxBrowserManager.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "FBSandBoxBrowserManager/Classes/**/*",
    "dependencies": {
        "GCDWebServer": [
            "~> 3.0"
        ],
        "GCDWebServer/WebUploader": [
            "~> 3.0"
        ]
    }
}

Pin It on Pinterest

Share This