Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bannzai/gedatsu

Gedatsu provide readable format about AutoLayout error console log
https://github.com/bannzai/gedatsu

cocoapods swift swiftpackagemanager xcode

Last synced: 3 months ago
JSON representation

Gedatsu provide readable format about AutoLayout error console log

Awesome Lists containing this project

README

        

[![Swift 5.2](https://img.shields.io/badge/swift-5.2-ED523F.svg?style=flat)](https://swift.org/download/) [![Cocoapods](https://img.shields.io/cocoapods/v/Gedatsu.svg)](https://cocoapods.org/pods/Gedatsu) [![Carthage](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Swift Package Manager](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager)

[![Gedatsu](docs/logo.png)](docs/logo.png)

# Gedatsu
Gedatsu provide readable format about AutoLayout error console log

## Abstract
At runtime Gedatsu hooks console log and formats it to human readable about AutoLayout ambiguous constraints.

| Original | Gedatsu |
| ---- | ---- |
| | |

## Install
### Cocoapods
Add the line below to Podfile and execute `$ pod install`.
```ruby
pod 'Gedatsu', configuration: %w(Debug)
```

### Carthage
Add the line below to Cartfile and execute any `$ carthage checkout && carthage build` commands.
e.g.) `$ carthage bootstrap --platform iOS`.
```
github "bannzai/Gedatsu"
```

### Swift Package Manager
Gedatsu supports to install via Swift Package Manager.
You can add Gedatsu on Xcode GUI. See [document](https://developer.apple.com/documentation/xcode/adding_package_dependencies_to_your_app).

## Usage
Gedatsu will start when after call `Gedatsu.open`.
As an good example for iOS project, call `Gedatsu.open` when `AppDelegate.application:didFinishLaunchingWithOptions:`.

```swift
#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](https://creativecommons.org/licenses/by-nc/4.0/deed) license. Original design by [noainoue](https://github.com/noainoue).