Simple debugging tool for exploring the contents of your iOS app sandbox and identifying size changes in stored files.
To run the example project, clone the repo, and run pod install
from the Example directory first.
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()
}
}
}
3.0.0 - Swift 4.2 upgrade
2.0.0 - Swift 4 upgrade
1.0.0 - Initial release (Swift 3.2)
Erik Sundin, [email protected]
SandboxExplorer is available under the MIT license. See the LICENSE file for more info.