Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 23 hours 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-21T03:31:04.000Z (over 1 year ago)
- Last Synced: 2024-10-29T22:41:22.035Z (18 days 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
[![Version](https://img.shields.io/cocoapods/v/SandboxBrowser.svg?style=flat)](http://cocoapods.org/pods/SandboxBrowser)
[![License](https://img.shields.io/cocoapods/l/SandboxBrowser.svg?style=flat)](http://cocoapods.org/pods/SandboxBrowser)
[![Platform](https://img.shields.io/cocoapods/p/SandboxBrowser.svg?style=flat)](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
### InstallationTo 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