Skip to content

Debugging tool for exploring files in an iOS app sandbox.

License

Notifications You must be signed in to change notification settings

eriksundin/SandboxExplorer

Repository files navigation

SandboxExplorer

Version License Platform

Simple debugging tool for exploring the contents of your iOS app sandbox and identifying size changes in stored files.

Screenshot 1 Screenshot 2

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

SandboxExplorer is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "SandboxExplorer"

Show the SandboxExplorer UI using:

import SandboxExplorer

SandboxExplorer.shared.toggleVisibility()

Tip! Add "shake to show" functionality to your root viewcontroller.

import SandboxExplorer

class MyRootViewController: UIViewController {

  override var canBecomeFirstResponder: Bool {
        return true
    }

    override func motionBegan(_ motion: UIEvent.EventSubtype, with event: UIEvent?) {
        if motion == .motionShake {
            SandboxExplorer.shared.toggleVisibility()
        }
    }
}

Changelog

3.0.0 - Swift 4.2 upgrade

2.0.0 - Swift 4 upgrade

1.0.0 - Initial release (Swift 3.2)

Author

Erik Sundin, erik@eriksundin.se

License

SandboxExplorer is available under the MIT license. See the LICENSE file for more info.

About

Debugging tool for exploring files in an iOS app sandbox.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •