Swiftpack.co - Package - johnpatrickmorgan/wtfautolayout

WTF Auto Layout?

Swift Vapor

This is the code driving www.wtfautolayout.com, which parses error logs from Auto Layout on iOS and macOS and provides more intuitive visual descriptions of the conflicting constraints. It was built using Swift, Vapor and Sparse.

After installing Vapor, run vapor xcode to generate an xcode project. The Run target will serve the site locally at localhost:8080.


Stars: 749
Help us keep the lights on

Used By



1.3.2 - Mar 12, 2019

b750462 Allows any character except # for file names in SnapKit constraint descriptions (#16)

1.3.1 - Feb 12, 2019

298d39b Corrects trimming of log suffixes

1.3.0 - Jan 24, 2019

c00bec4 Sets swift version to 4.2 5f93483 Updates test snapshots f1b70da Ensures parser output is deterministic cddeea0 Renames txt files to json for latest SnapshotTesting 377f819 Ensures InvalidConstraintError's description is called fabebe6 Updates for latest Sparse version 1268a43 Updates dependencies e1a779a Updates tests for latest SnapshotTesting e6fbca5 Switches to using the input's length rather than hashValue for seeding random colors

1.2.4 - Dec 24, 2018

bf67a47 Adds correct parsing of NSSpace in equation constraints (#13) 39dbcb9 Adds a failing test for NSSpace after an equation constraint c2c3b93 Corrects custom input 8

1.2.3 - Dec 4, 2018

f12327a Avoids application crash with duplicate keys in info dictionary (#12) 953bf14 Adds failing test for duplicate info keys 7a5b5f9 Adds a file to collect parsing errors from anonymised server logs 434384d Updates snapshots to capture correct footnote rendering