A command-line tool that generates Swift code from Interface Builder .xib files to transition to programmatic UI layout.
Eject is a command-line tool that converts Interface Builder .xib files into Swift code, allowing iOS developers to transition from visual UI design to programmatic view layout. It solves the pain point of Interface Builder becoming less useful as views grow more dynamic or complex, providing a generated codebase that replaces the .xib file entirely.
iOS developers who use Interface Builder but find it limiting for dynamic or programmatically managed views, and want a structured way to move to code-based UI without manual rewriting.
Developers choose Eject because it automates the tedious process of converting .xib files to Swift, reducing manual effort and potential errors, while offering descriptive variable names and constraint handling via Anchorage for a smoother transition.
An eject button for Interface Builder to generate swift code
Generates Swift code from .xib files, automating the tedious process of transitioning away from Interface Builder and reducing manual rewriting errors.
Uses the Anchorage library to accurately translate Auto Layout constraints into programmatic code, ensuring reliable layout management in Swift.
Handles both outlets and outlet collections, preserving connections in the generated code to maintain functionality without manual re-linking.
Employs user labels or snake-cased class names for variable names, improving code readability and making the generated output easier to understand.
Prints warnings for uninterpreted XML, encouraging users to report issues on GitHub, which fosters iterative improvement and community involvement.
Marked as alpha, meaning it may have bugs, incomplete features, and is not recommended for stable production use without extensive testing.
Explicitly states that generating code that compiles out of the box is a non-goal, often requiring manual fixes or user labels to avoid errors.
Only supports iOS .xib files with no AppKit or Storyboard conversion, restricting its use to specific project types and ignoring common macOS or storyboard workflows.
Requires users to copy-paste generated code and manually delete .xib files, adding steps that can be error-prone and time-consuming compared to integrated tools.
A handy collection of more than 500 native Swift extensions to boost your productivity.
The Objective-C block utilities you always wish you had.
A Cocoa library to extend the Objective-C programming language.
✨ Super sweet syntactic sugar for Swift initializers
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.