Cartography is a declarative layout engine and constraint management framework for Swift. It provides a domain-specific language to define, group, and prioritize user interface layout rules, abstracting the process of positioning and aligning visual components.
robb/cartography 的主要功能包括:iOS UI Layout, Swift Autolayout Development, Swift UI Constraints Wrappers, Swift Auto Layout DSL, Constraint Layout Engines, Constraint Grouping, Constraint Set Swapping, Declarative Layout Engines。
robb/cartography 的开源替代品包括: snapkit/snapkit — SnapKit is a declarative layout library and domain-specific language for managing user interface constraints and view… snapkit/masonry — Masonry is a declarative UI layout engine and domain-specific language for defining layout constraints on iOS and… purelayout/purelayout — PureLayout is a declarative layout framework and Auto Layout wrapper library used for positioning views and managing… roberthein/tinyconstraints — TinyConstraints is a declarative UI layout engine and constraint-based positioning framework designed to simplify the… gsdios/sdautolayout — SDAutoLayout is an iOS UI layout framework and programmatic wrapper library. It provides an auto layout constraint… gui-cs/terminal.gui — Terminal.Gui is a cross-platform .NET toolkit for building interactive text-based user interfaces. It provides a…
SnapKit is a declarative layout library and domain-specific language for managing user interface constraints and view relationships in Swift. It serves as a programmatic framework for positioning and sizing interface elements on iOS and macOS by wrapping native Auto Layout calls in a concise syntax. The library provides a fluent interface that translates high-level descriptive language into imperative layout rules. It differentiates itself through automatic constraint tracking and lifecycle management, allowing for the bulk removal and replacement of positioning rules without manual tracking
Masonry is a declarative UI layout engine and domain-specific language for defining layout constraints on iOS and macOS. It serves as a wrapper for native Apple layout constraints, providing a system for positioning views on a screen by declaring rules and priorities. The library implements a fluent interface that uses chainable method calls to define complex screen layouts. This approach replaces native configuration calls with an expressive syntax for generating layout rules. The engine includes capabilities for managing constraint priorities to resolve layout conflicts and tools for updat
PureLayout is a declarative layout framework and Auto Layout wrapper library used for positioning views and managing constraints in iOS and macOS applications. It provides a programmatic engine for building user interfaces through constrained-based positioning and priority levels. The framework utilizes a fluent-interface API design and wrapper-based abstractions to simplify the definition of layout constraints. It features deferred and batch constraint activation to group multiple rules together for simultaneous application to the view hierarchy. The project covers general Auto Layout manag
TinyConstraints is a declarative UI layout engine and constraint-based positioning framework designed to simplify the definition of view constraints, spatial relationships, and element dimensions. It functions as an auto layout wrapper library that allows for the positioning of elements through relational anchors and priority-based sizing rules. The system enables adaptive interface design by supporting custom view stacking in horizontal or vertical sequences and the use of offsets for precise edge alignment and centering. It further supports dynamic interface animations by updating layout co