CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✗ |
| LangLanguage | SwiftSwift |
| License | MIT |
| ReleasedLast Release | Dec 2016 |
| SwiftSwift Version | 3.0 |
| SPMSupports SPM | ✗ |
Maintained by Devran Cosmo Uenal.
A tiny log console to display information while using your iOS app. Written in Swift 3.
Create a TinyConsoleController-Instance and pass your App-ViewController as a rootViewController parameter.
TinyConsoleController(rootViewController: MyMainViewController())// Print message
TinyConsole.print("hello")
// Print messages any color you want
TinyConsole.print("green text", color: UIColor.green)
// Print a red error message
TinyConsole.error("something went wrong")
// Print a marker for orientation
TinyConsole.addMarker()
// Clear console
TinyConsole.clear()Add marker Add custom log entry Clear Console and Send Mail Instead of
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = MainViewController()
window?.makeKeyAndVisible()
return true
}write
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = TinyConsoleController(rootViewController: MainViewController())
window?.makeKeyAndVisible()
return true
}or checkout the example project included in this repository.
Just drag the source files into your project.
TinyConsole is released under the MIT License.