https://github.com/aidevjoe/sandboxbrowser
A simple iOS sandbox file browser, you can share files through AirDrop
https://github.com/aidevjoe/sandboxbrowser
debugging filebrowser sandbox swift
Last synced: 5 months ago
JSON representation
A simple iOS sandbox file browser, you can share files through AirDrop
- Host: GitHub
- URL: https://github.com/aidevjoe/sandboxbrowser
- Owner: aidevjoe
- License: mit
- Created: 2017-08-27T13:29:05.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-07-21T03:31:04.000Z (almost 3 years ago)
- Last Synced: 2024-10-29T22:41:22.035Z (over 1 year ago)
- Topics: debugging, filebrowser, sandbox, swift
- Language: Swift
- Homepage:
- Size: 580 KB
- Stars: 96
- Watchers: 4
- Forks: 26
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### SandboxBrowser
[](http://cocoapods.org/pods/SandboxBrowser)
[](http://cocoapods.org/pods/SandboxBrowser)
[](http://cocoapods.org/pods/SandboxBrowser)
A simple iOS sandbox file browser, enable you to view sandbox file system on iOS device, share files via airdrop, super convenient when you want to send log files from iOS device to Mac. reference from [AirSandbox](https://github.com/music4kid/AirSandbox), Thanks !
### Screenshots
### Installation
To integrate SandboxBrowser into your Xcode project using CocoaPods, specify it in your Podfile:
```
pod 'SandboxBrowser'
```
Then, run pod install.
### Usage
```
import SandboxBrowser
```
```
let sandboxBrowser = SandboxBrowser()
present(sandboxBrowser, animated: true, completion: nil)
```
Open the sandbox directory by default, and you can specify the directory
```
let sandboxBrowser = SandboxBrowser(initialPath: customURL)
```
Use the didSelectFile closure to change FileBrowser's behaviour when a file is selected.
```
sandboxBrowser.didSelectFile = { file, vc in
print(file.name, file.type)
}
```
Long press file share via AirDrop
### License
MIT