Eject
Eject copied to clipboard
An eject button for Interface Builder to generate swift code
I saw there was Anchorage "support" but short of hard coding it, no way to enable it. Appending a trailing `--anchorage` will now toggle the anchoring mode. Requires [41](https://github.com/Rightpoint/Eject/pull/41) to...
IB leaves "Stuff" in the xibs that aren't necessary to port, and generate mysterious warnings when Ejecting. Centralized the logic to suppress them both to keep the real logic clean,...
Updated some syntax, and the UIButton arguments to match current APIs.
``` ==> xcodebuild SYMROOT=build Build settings from command line: SYMROOT = build note: Using new build system note: Planning build note: Constructing build description error: SWIFT_VERSION '3.0' is unsupported, supported...
So I ran Eject on my .xib and got this output: ``` document.objects.view.subviews.view: insetsLayoutMarginsFromSafeArea='NO' document.objects.view.subviews.view: insetsLayoutMarginsFromSafeArea='NO' Can not configure XML nodes 'viewLayoutGuide' Can not configure XML nodes 'point' Variable 'imageView:...
`verticalAnchors`, `horizontalAnchors`, and `edgeAnchors` should all be used if possible.
There is a `placeholder` key on constraint. I'm not sure what this actually does. Very often it won't have enough information to generate a valid constraint and can cause failures.
Hi, Interesting tool 🙂 Below the title can you add some badges? For example: [](https://github.com/Carthage/Carthage) [](https://github.com/apple/swift-package-manager) [](https://cocoapods.org/)  
If anyone has opinions on how to generate code for segues, please reply here!
Code generation is not correct. There's also some curious double-nesting in xib files when created fresh, ie: ```xml ``` Wonder if the view hierarchy that's created is as strange as...