laohanme / Gedatsu

Gedatsu provide readable format about AutoLayout error console log

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift 5.2 Cocoapods Carthage Swift Package Manager

Gedatsu

Gedatsu provide readable format about AutoLayout error console log

Abstract

In runtime Gedatsu hooking console log and format it to human readable about AutoLayout ambiguous constraints.

Original Gedatsu

Install

Cocoapods

Add the line below to Podfile and to exec $ pod install.

pod 'Gedatsu', configuration: %w(Debug)

Swift Package Manager

Gedatsu supported to install via Swift Package Manager. You can add Gedatsu on Xcode GUI. See document.

Usage

Gedatsu will start when after call Gedatsu.open. As an good example, call Gedatsu.open when AppDelegate.application:didFinishLaunchingWithOptions:.

#if DEBUG
import Gedatsu
#endif

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
    #if DEBUG
    Gedatsu.open()
    #endif
    return true
}

LICENSE

Gedatsu is released under the MIT license. See LICENSE for details.

About

Gedatsu provide readable format about AutoLayout error console log

License:MIT License


Languages

Language:Swift 82.8%Language:Ruby 14.9%Language:Makefile 2.3%