Swiftpack.co - duraidabdul/LocalConsole as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by duraidabdul.
duraidabdul/LocalConsole 1.9.5
In-app console and debug tools for iOS developers
⭐️ 583
🕓 15 weeks ago
.package(url: "https://github.com/duraidabdul/LocalConsole.git", from: "1.9.5")


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.


  1. In your Xcode project, navigate to File > Swift Packages > Add Package Dependancy...

  2. Paste the following into the URL field: https://github.com/duraidabdul/LocalConsole/

  3. Once the package dependancy has been added, import LocalConsole and create an easily accessible global instance of LCManager.shared.

import LocalConsole

let consoleManager = LCManager.shared


Once prepared, the consoleManager can be used throughout your project.

// Activate the console view.
consoleManager.isVisible = true

// Deactivate the console view.
consoleManager.isVisible = false
// Print items to the console view.
consoleManager.print("Hello, world!")

// Clear console text.

// Copy console text.
// Change the console view font size.
consoleManager.fontSize = 5


Stars: 584
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

15 weeks ago
  • Fixed bug that could cause status bar to switch to an unintended appearance.
  • Clarified "Share" action description.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics