A lightweight UIView category for programmatic iOS layout using human-readable convenience methods.
Façade is a lightweight UIView category for iOS that provides human-readable convenience methods to programmatically layout user interfaces without Auto Layout. It wraps complex frame algebra into intuitive APIs, allowing developers to build responsive UIs quickly and define unique layouts for different device orientations.
iOS developers who prefer programmatic UI construction over Interface Builder or Auto Layout, and need a simple, readable way to handle view positioning and responsive design.
Developers choose Façade for its straightforward, verbose API that eliminates the tedium of manual frame calculations, offers flexibility for orientation-specific layouts, and integrates easily into existing view lifecycle methods without the overhead of Auto Layout constraints.
Programmatic view layout for the rest of us.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Uses explicit method names like anchorTopCenterFillingWidthWithLeftAndRightPadding, making layout code self-explanatory and reducing reliance on documentation.
Allows defining unique layouts for different device orientations by placing code in viewWillLayoutSubviews, enabling responsive design without extra complexity.
Simplifies arranging arrays of views horizontally or vertically with consistent spacing, as shown in the share buttons example, allowing easy reorganization.
Wraps tedious frame calculations into intuitive methods, providing a flexible alternative to Auto Layout for programmatic UI construction.
Explicitly stated as no longer under active development, meaning bugs won't be fixed, pull requests ignored, and future iOS support is uncertain.
The README admits it doesn't cover every layout scenario and makes assumptions, which may fall short for complex or niche UI requirements.
Designed for readability over succinctness, leading to lengthy method names that can increase code volume and reduce maintainability in large projects.