Swift Layout

Open-source Swift projects categorized as Layout

Top 23 Swift Layout Projects

  • GitHub repo SnapKit

    A Swift Autolayout DSL for iOS & OS X

    Project 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.

  • GitHub repo Cartography

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

    Project 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.

  • GitHub repo Neon

    A powerful Swift programmatic UI layout framework. (by mamaral)

  • GitHub repo BouncyLayout

    Make. It. Bounce.

  • GitHub repo TinyConstraints

    Nothing but sugar.

  • GitHub repo DeviceKit

    DeviceKit is a value-type replacement of UIDevice.

  • GitHub repo Stevia

    :leaves: Write concise Autolayout code

    Project 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.

  • GitHub repo Layout

    A declarative UI framework for iOS

  • GitHub repo EasyPeasy

    Auto Layout made easy

  • GitHub repo 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]

    Project 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)

  • GitHub repo FlexLayout

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

  • GitHub repo Static

    Simple static table views for iOS in Swift.

  • GitHub repo Blueprints

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

  • GitHub repo SwiftBox

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

  • GitHub repo ViewMonitor

    ViewMonitor can measure view positions with accuracy.

  • GitHub repo Grid

    The most powerful Grid container missed in SwiftUI (by exyte)

  • GitHub repo SwiftAutoLayout

    Tiny Swift DSL for Autolayout

  • GitHub repo Anchorage

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

  • GitHub repo Relayout

    Swift microframework for declaring Auto Layout constraints functionally

  • GitHub repo set-simulator-location

    CLI for setting location in the iOS simulator

  • GitHub repo EasyAnchor

    ⚓️ Declarative, extensible, powerful Auto Layout

  • GitHub repo Layoutless

    Write less UI code

  • GitHub repo EasySwiftLayout

    Lightweight Swift framework for Apple's Auto-Layout

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). The latest post mention was on 2020-12-25.

Index

What are some of the best open-source Layout projects in Swift? This list will help you:

Project Stars
1 SnapKit 17,324
2 Cartography 7,195
3 Neon 4,581
4 BouncyLayout 3,868
5 TinyConstraints 3,565
6 DeviceKit 3,258
7 Stevia 3,068
8 Layout 2,186
9 EasyPeasy 1,829
10 PinLayout 1,639
11 FlexLayout 1,326
12 Static 1,200
13 Blueprints 870
14 SwiftBox 813
15 ViewMonitor 730
16 Grid 704
17 SwiftAutoLayout 655
18 Anchorage 591
19 Relayout 561
20 set-simulator-location 498
21 EasyAnchor 432
22 Layoutless 408
23 EasySwiftLayout 346