All Projects → Cosmo → Tinyconsole

Cosmo / Tinyconsole

Licence: mit
📱💬🚦 TinyConsole is a micro-console that can help you log and display information inside an iOS application, where having a connection to a development computer is not possible.

Programming Languages

swift
15916 projects
objective c
16641 projects - #2 most used programming language

Projects that are alternatives of or similar to Tinyconsole

Logging Helpers
Basic template helpers for printing messages out to the console. Useful for debugging context in templates. Should work with any template engine.
Stars: ✭ 5 (-99.74%)
Mutual labels:  console, helper, log
Hzdtf.foundation.framework
基础框架系统,支持.NET和.NET Core平台,语言:C#,DB支持MySql和SqlServer,主要功能有抽象持久化、服务层,将业务基本的增删改查抽离复用;提供代码生成器从DB生成实体、持久化、服务以及MVC控制器,每层依赖接口,并需要在客户端将对应实现层用Autofac程序集依赖注入,用AOP提供日志跟踪、事务、模型验证等。对Autofac、Redis、RabbitMQ封装扩展;DB访问提供自动主从访问,Redis客户端分区。特别适合管理系统。
Stars: ✭ 22 (-98.86%)
Mutual labels:  log, tool
Git2json
Simple tool to get a JSON from your git log.
Stars: ✭ 18 (-99.07%)
Mutual labels:  log, tool
Signale
Highly configurable logging utility
Stars: ✭ 8,575 (+344.53%)
Mutual labels:  console, log
Phpinsights
🔰 Instant PHP quality checks from your console
Stars: ✭ 4,442 (+130.27%)
Mutual labels:  console, tool
Electron Log
Just a simple logging module for your Electron application
Stars: ✭ 765 (-60.34%)
Mutual labels:  console, log
Timber Ruby
🌲 Great Ruby logging made easy.
Stars: ✭ 154 (-92.02%)
Mutual labels:  events, log
Rex
Your RegEx companion.
Stars: ✭ 283 (-85.33%)
Mutual labels:  helper, tool
Simple Console
Add an elegant command-line interface to any page
Stars: ✭ 107 (-94.45%)
Mutual labels:  console, log
Nova Tail Tool
A Laravel Nova tool to display the application log
Stars: ✭ 110 (-94.3%)
Mutual labels:  log, tool
Rainbow
Delightful console output for Swift developers.
Stars: ✭ 1,606 (-16.74%)
Mutual labels:  console, log
Common.utility
Various helper class
Stars: ✭ 4,101 (+112.6%)
Mutual labels:  helper, tool
Console
OS X console application.
Stars: ✭ 298 (-84.55%)
Mutual labels:  console, log
Quicklogger
Library for logging on files, console, memory, email, rest, eventlog, syslog, slack, telegram, redis, logstash, elasticsearch, influxdb, graylog, Sentry, Twilio, ide debug messages and throw events for Delphi/Firemonkey/freepascal/.NET (Windows/Linux/OSX/IOS/Android).
Stars: ✭ 137 (-92.9%)
Mutual labels:  console, log
Consola
Elegant Console Logger for Node.js and Browser 🐨
Stars: ✭ 3,461 (+79.42%)
Mutual labels:  console, log
Loglevelnext
A modern logging library for Node.js that provides log level mapping to the console
Stars: ✭ 33 (-98.29%)
Mutual labels:  console, log
UE4 MagicConsole
Enhanced UE4 output log widget
Stars: ✭ 71 (-96.32%)
Mutual labels:  console, log
Log
Console.log with style.
Stars: ✭ 2,766 (+43.39%)
Mutual labels:  console, log
Icmethoddigger
An easy way to print almost methods including private methods (supported arm64 architecture devices).
Stars: ✭ 103 (-94.66%)
Mutual labels:  log, tool
Console Badge
🎨 Create simple badges in the browser console
Stars: ✭ 130 (-93.26%)
Mutual labels:  console, log

 text

TinyConsole

Platform iOS Carthage compatible License MIT

TinyConsole is a tiny log console to display information while using your iOS app and written in Swift.

Usage

Wrap your Main ViewController inside of a TinyConsoleController like so:

TinyConsole.createViewController(rootViewController: MyMainViewController())

Actions

Hide and Show

Shake your device to toggle the console. If you’re using the Simulator, press ⌃ ctrl-⌘ cmd-z.

Console output

// 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.addLine()

// Clear console
TinyConsole.clear()

Implementation Example

Instead of

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    window = UIWindow(frame: UIScreen.main.bounds)
    window?.rootViewController = MyMainViewController()
    window?.makeKeyAndVisible()
    return true
}

write

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    window = UIWindow(frame: UIScreen.main.bounds)
    window?.rootViewController = TinyConsole.createViewController(rootViewController: MyMainViewController())
    window?.makeKeyAndVisible()
    return true
}

alternatively, check out the example project included in this repository.

Demo

 text

Requirements

  • Xcode 11
  • Swift 5
  • iOS 11 or greater

Installation

Carthage

Add this to your Cartfile:

github "Cosmo/TinyConsole"

Manually

Just drag the source files into your project.

Hierarchy

 text

Core Team

Thanks

Many thanks to the contributors of this project.

Contact

Other Projects

  • BinaryKit — BinaryKit helps you to break down binary data into bits and bytes and easily access specific parts.
  • Clippy — Clippy from Microsoft Office is back and runs on macOS! Written in Swift.
  • GrammaticalNumber — Turns singular words to the plural and vice-versa in Swift.
  • HackMan — Stop writing boilerplate code yourself. Let hackman do it for you via the command line.
  • ISO8859 — Convert ISO8859 1-16 Encoded Text to String in Swift. Supports iOS, tvOS, watchOS and macOS.
  • SpriteMap — SpriteMap helps you to extract sprites out of a sprite map. Written in Swift.
  • StringCase — Converts String to lowerCamelCase, UpperCamelCase and snake_case. Tested and written in Swift.

License

TinyConsole is released under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].