Swiftpack.co -  duraidabdul/LocalConsole as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
In-app console and debug tools for iOS developers
.package(url: "https://github.com/duraidabdul/LocalConsole.git", from: "1.6.2")


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 Console.shared.

import LocalConsole

let consoleManager = LCManager.shared


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

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

// Hide 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


  • Screen edge console hiding
  • Make console view reactive to landscape/portrait switch


Stars: 307
Last commit: 3 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

3 days ago

System Report is now dynamic! Enjoy watching your device thermal state, low power mode state, and system uptime change in real time!

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