プロジェクト
GitHubで見る
duraidabdul/LocalConsole
概要
iOS開発者向けのアプリ内コンソールとデバッグツール
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- 0
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル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
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
関連プロジェクトを探す
読み込み中…