Swift Layout

Open-source Swift projects categorized as Layout

Top 23 Swift Layout Projects

  • SnapKit

    A Swift Autolayout DSL for iOS & OS X

    Latest mention: Total failure of Xcode Storyboards | dev.to | 2020-09-06

    It appears that writing views programmatically is not easy too. Apple didn't provide easy in use classes and methods to write views easily. At least notation could be shorter however concept of constraints itself is quite good in UIKit. That's why people invented a lot of DSL (domain-specific language) libraries like the most popular SnapKit, tricky Carthography or super concise Stevia. I invented my own DSL AutoLayout library LayoutExtension which is now in early version however I use it in one commercial project with full success.

  • Cartography

    A declarative Auto Layout DSL for Swift :iphone::triangular_ruler:

    Latest mention: Total failure of Xcode Storyboards | dev.to | 2020-09-06

    It appears that writing views programmatically is not easy too. Apple didn't provide easy in use classes and methods to write views easily. At least notation could be shorter however concept of constraints itself is quite good in UIKit. That's why people invented a lot of DSL (domain-specific language) libraries like the most popular SnapKit, tricky Carthography or super concise Stevia. I invented my own DSL AutoLayout library LayoutExtension which is now in early version however I use it in one commercial project with full success.

  • Neon

    A powerful Swift programmatic UI layout framework.

  • BouncyLayout

    Make. It. Bounce.

  • TinyConstraints

    Nothing but sugar.

  • DeviceKit

    DeviceKit is a value-type replacement of UIDevice.

  • LayoutKit

    LayoutKit is a fast view layout library for iOS, macOS, and tvOS.

  • Stevia

    :leaves: Write concise Autolayout code

    Latest mention: Total failure of Xcode Storyboards | dev.to | 2020-09-06

    It appears that writing views programmatically is not easy too. Apple didn't provide easy in use classes and methods to write views easily. At least notation could be shorter however concept of constraints itself is quite good in UIKit. That's why people invented a lot of DSL (domain-specific language) libraries like the most popular SnapKit, tricky Carthography or super concise Stevia. I invented my own DSL AutoLayout library LayoutExtension which is now in early version however I use it in one commercial project with full success.

  • layout

    A declarative UI framework for iOS

  • EasyPeasy

    Auto Layout made easy

  • PinLayout

    Fast Swift Views layouting without auto layout. No magic, pure code, full control and blazing fast. Concise syntax, intuitive, readable & chainable. [iOS/macOS/tvOS/CALayer]

    Latest mention: Hey guys, does anyone know Objective-C course (paid or free) for building apps without storyboards? (without storyboard is important) | reddit.com/r/iOSProgramming | 2020-12-25

    I guess it's two different things. First of all, you can get an udacity course "objective-c-for-swift-developers" and then just find a lib for layouting (e.g. PinLayout supports objective-c and doesn't use an autolayout)

  • FlexLayout

    FlexLayout adds a nice Swift interface to the highly optimized facebook/yoga flexbox implementation. Concise, intuitive & chainable syntax.

  • Static

    Simple static table views for iOS in Swift.

  • Blueprints

    :cyclone: Blueprints - A framework that is meant to make your life easier when working with collection view flow layouts.

  • SwiftBox

    Flexbox in Swift, using Facebook's css-layout.

  • ViewMonitor

    ViewMonitor can measure view positions with accuracy.

  • SwiftAutoLayout

    Tiny Swift DSL for Autolayout

  • Grid

    The most powerful Grid container missed in SwiftUI

  • Anchorage

    A collection of operators and utilities that simplify iOS layout code.

  • Relayout

    Swift microframework for declaring Auto Layout constraints functionally

  • set-simulator-location

    CLI for setting location in the iOS simulator

  • EasyAnchor

    ⚓️ Declarative, extensible, powerful Auto Layout

  • Layoutless

    Write less UI code

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).