duraidabdul/LocalConsole
duraidabdul/LocalConsole has 828 GitHub stars and 57 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-20 08:33 UTC. Last push 2022-12-04.
측정된 스타 증가
- in 24h
- 0
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
In-app console and debug tools for iOS developers
개발 도구README.md
OriginalLocalConsole
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
LCManager.shared.
import LocalConsole
let consoleManager = LCManager.shared
Usage
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.
consoleManager.clear()
// Copy console text.
consoleManager.copy()
// Change the console view font size.
consoleManager.fontSize = 5