/Gedatsu

Gedatsu provide readable format about AutoLayout error console log

Primary LanguageSwiftMIT LicenseMIT

Swift 5.2 Cocoapods Carthage Swift Package Manager

Gedatsu

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)

Carthage

Add the line below to Cartfile and to exec any $ carthage checkout && carthage build commands.
e.g) $ carthage bootstrap --platform iOS.

github "bannzai/Gedatsu"

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 for iOS project, 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
}

Support Versions

platform version
iOS >= 11.0
macOS >= 10.11
Swift >= 5.2

LICENSE

Gedatsu is released under the MIT license. See LICENSE for details.
Header logo is released CC BY-NC 4.0 license. Original design by noainoue.