Latest 1.0.3
Homepage https://github.com/002and001/FHHSandBoxViewer
License MIT
Platforms ios 8.0, requires ARC
Frameworks Foundation, UIKit
Authors

View your App’s SandBox and shares Documents or Files you selected.

FHHSandBoxViewer is a lite Compoment,you can use it as follow gif shows:

gif

How to get started?

Swift Usage

Drag Floder FHHSandBoxViewer to your project.
Then add code in one Controller

let title = FHHSandboxViewController.defaultNavTitle
let path = FHHSandboxViewController.defaultPath
let sandBoxViewerVC = FHHSandboxViewController.init(navTitle: title, path: path)
let nav = UINavigationController.init(rootViewController: sandBoxViewerVC)
nav.navigationBar.isHidden = true
nav.navigationBar.isTranslucent = true
self.present(nav, animated: true, completion: {
    sandBoxViewerVC.fhh_enterType = .present
})
Obj-C usage

Drag Floder FHHSandBoxViewer to your project,and config ProductName-Bridging-Header.h file in your Xcode if your project not ever use Swift before.
Then add code in one Controller

NSString *defaultTitle = [FHHSandboxViewController defaultNavTitle];
NSString *defaultPath = [FHHSandboxViewController defaultPath];
FHHSandboxViewController *sandBoxViewerVC = [[FHHSandboxViewController alloc]
                                                initWithNavTitle:defaultTitle
                                                            path:defaultPath];
UINavigationController *nav = [[UINavigationController alloc]
                                  initWithRootViewController:sandBoxViewerVC];
[nav.navigationBar setHidden:YES];
[nav.navigationBar setTranslucent:YES];
[self presentViewController:nav animated:YES completion:^{
    sandBoxViewerVC.fhh_enterType = FHHEnterTypePresent;
}];
Tip:

If you are not satisfied with existing functions or UI,you could make a fork then make some changes you like.

Latest podspec

{
    "name": "FHHSandBoxViewer",
    "version": "1.0.3",
    "summary": "u6c99u76d2u67e5u770bu5668uff0cu53efu4ee5u6d4fu89c8Appu7684u6c99u76d2u6587u4ef6u548cu4f7fu7528AirDropu8fdbu884cu5206u4eab",
    "homepage": "https://github.com/002and001/FHHSandBoxViewer",
    "license": "MIT",
    "authors": {
        "002and001": "[email protected]"
    },
    "source": {
        "git": "https://github.com/002and001/FHHSandBoxViewer.git",
        "tag": "1.0.3"
    },
    "module_name": "FHHSandBoxViewer",
    "platforms": {
        "ios": "8.0"
    },
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "source_files": "FHHSandBoxViewer/**/*.swift",
    "requires_arc": true
}

Pin It on Pinterest

Share This