Swift Autolayout

Open-source Swift projects categorized as Autolayout | Edit details

Top 19 Swift Autolayout Projects

  • GitHub repo SnapKit

    A Swift Autolayout DSL for iOS & OS X

    Project mention: How can I add constraints to a UI element inside a programmatically created UIView? | reddit.com/r/swift | 2021-06-29

    I suggest you check out SnapKit. It is a convenient AutoLayout wrapper. I find it a lot more easier to read compared to the built in constraint builder or the string representation.

  • GitHub repo Stevia

    :leaves: Write concise Autolayout code

  • GitHub repo TableKit

    Type-safe declarative table views.

  • GitHub repo Toolbar

    Awesome autolayout Toolbar. Toolbar is a library for iOS. You can easily create chat InputBar. (by 1amageek)

  • GitHub repo EasyAnchor

    ⚓️ Declarative, extensible, powerful Auto Layout

  • GitHub repo EasySwiftLayout

    Lightweight Swift framework for Apple's Auto-Layout

  • GitHub repo Yalta

    Intuitive and powerful Auto Layout library

  • GitHub repo QuickLayout

    Written in pure Swift, QuickLayout offers a simple and easy way to manage Auto Layout in code.

  • GitHub repo DeviceLayout

    📱AutoLayout can be set differently for each device

  • GitHub repo BaseComponents

    BaseComponents aims to provide easily reusable and understandable components to increase productivity with UIKit and Foundation APIs

  • GitHub repo Anchorman

    An autolayout library for the damn fine citizens of San Diego.

  • GitHub repo MondrianLayout

    🏗 A way to building layouts faster in AutoLayout like SwiftUI - powered by Result Builders

  • GitHub repo FrameLayoutKit

    FrameLayoutKit is a super fast and easy to use autolayout kit

  • GitHub repo WWLayout

    Swifty DSL for programmatic Auto Layout in iOS

  • GitHub repo NorthLayout

    The fast path to autolayout views in code

  • GitHub repo Constraint

    Constraint is a simple fluent Swift wrapper for iOS Auto Layout that has a very natural syntax

    Project mention: 5+ year of experience and never created my own app. | reddit.com/r/swift | 2021-07-19

    If you lack ideas, you could always create a framework out of something you already created. I had a merry band of files that I copied over from project to project and to help back porting features to my older apps I turned my autolayouts wrapper into an official framework. In 2021 it still helps to have some (clean!) code publicly accessible, also handy to demonstrate that you understand stuff like Git flow and Git in general, know how to use an issue tracker.

  • GitHub repo Draftsman

    Draftsman is a Layout builder based on AutoLayout with Declarative approach

  • GitHub repo layout-extension

    LayoutExtension is DSL (domain-specific language) for UIKit's auto layout on iOS. It's based on behavior driven design making the most used syntax the most simple.

    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 Artisan

    Artisan is an MVVM framework for Swift using the bonding features from Pharos and constraints builder from Draftsman. (by hainayanda)

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 2021-07-19.

Index

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

Project Stars
1 SnapKit 17,695
2 Stevia 3,148
3 TableKit 630
4 Toolbar 459
5 EasyAnchor 434
6 EasySwiftLayout 347
7 Yalta 289
8 QuickLayout 222
9 DeviceLayout 170
10 BaseComponents 96
11 Anchorman 79
12 MondrianLayout 66
13 FrameLayoutKit 55
14 WWLayout 37
15 NorthLayout 33
16 Constraint 11
17 Draftsman 2
18 layout-extension 2
19 Artisan 2