1.0.2
LocalConsole
Welcome to LocalConsole! This Swift Package makes on-device debugging easy with a convenient PiP-style console that can display items in the same way print() will in Xcode. This tool can also dynamically display view frames and restart SpringBoard right from your live app.
Setup
-
In your Xcode project, navigate to File > Swift Packages > Add Package Dependancy...
-
Paste the following into the URL field: https://github.com/duraidabdul/LocalConsole/
-
Once the package dependancy has been added, import LocalConsole and create an easily accessible global instance of
Console.shared.
import LocalConsole
let localConsoleManager = LCManager.shared
Usage
Once prepared, the localConsole can be used throughout your project.
// Show local console.
localConsoleManager.isVisible = true
// Hide local console.
localConsoleManager.isVisible = false
// Print items to local console.
localConsoleManager.print("Hello, world!")
// Clear local console text.
localConsoleManager.clear()
Upcoming Features
- Custom console view size
- Custom console view font size
- Support for iOS 13
Languages
Swift
100%