Swift Constraints

Open-source Swift projects categorized as Constraints

Top 15 Swift Constraint Projects

  • SnapKit

    A Swift Autolayout DSL for iOS & OS X

    Project mention: why is UIKit much harder than SwiftUI? | reddit.com/r/iOSProgramming | 2022-12-24

    With a library like SnapKit, you can still have the terse, declarative coding style of UIKit. Hell, I once wrote my own poor-man's version of SnapKit on a whim because writing out constraint code manually got tedious.

  • TinyConstraints

    Nothing but sugar.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support. Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • BonMot

    Beautiful, easy attributed strings in Swift

  • Stevia

    :leaves: Concise Autolayout code

    Project mention: What tools/libraries/practices do you use that improve your iOS development? | reddit.com/r/iOSProgramming | 2022-05-08

    As for layout, love Stevia, it's a syntax sugar for Autolayout.

  • EasyPeasy

    Auto Layout made easy

    Project mention: Transitioning from SwiftUI to UIKit | reddit.com/r/iOSProgramming | 2022-02-28

    As someone who works with both SwiftUI and UIKit regularly, one of the barriers of entry to UIKit is layout. I’d recommend learning autolayout fundamentals but use a DSL like EasyPeasy instead of writing vanilla constraints by hand.

  • TangramKit

    TangramKit is a powerful iOS UI framework implemented by Swift. It integrates the functions with Android layout,iOS AutoLayout,SizeClass, HTML CSS float and flexbox and bootstrap. So you can use LinearLayout,RelativeLayout,FrameLayout,TableLayout,FlowLayout,FloatLayout,LayoutSizeClass to build your App 自动布局 UIView UITableView UICollectionView

  • EasyAnchor

    ⚓️ Declarative, extensible, powerful Auto Layout

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • SwiftQueue

    Job Scheduler for IOS with Concurrent run, failure/retry, persistence, repeat, delay and more

  • EasySwiftLayout

    Lightweight Swift framework for Apple's Auto-Layout

  • Cupcake

    An easy way to create and layout UI components for iOS (Swift version).

  • WWLayout

    Swifty DSL for programmatic Auto Layout in iOS

  • CGLayout

    Powerful autolayout framework, that can manage UIView(NSView), CALayer and not rendered views. Not Apple Autolayout wrapper. Provides placeholders. Linux support.

  • Pin

    📌 A tiny library that makes working with AutoLayout easier. Only 200 lines of code. (by mezhevikin)

    Project mention: 📌 Pin — a tiny library that makes working with AutoLayout easier | reddit.com/r/swift | 2022-11-04


  • constraints

    An UIKit AutoLayout DSL (by SimeonRumy)

    Project mention: Writing a UIKit AutoLayout DSL with Swift's Operator Overloading and Result Builders 🏗️ | reddit.com/r/iosdev | 2022-11-25


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

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

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 2022-12-24.

Swift Constraints related posts


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

Project Stars
1 SnapKit 19,114
2 TinyConstraints 3,836
3 BonMot 3,372
4 Stevia 3,292
5 EasyPeasy 1,925
6 TangramKit 1,136
7 EasyAnchor 448
8 SwiftQueue 370
9 EasySwiftLayout 350
10 Cupcake 288
11 WWLayout 49
12 CGLayout 45
13 Pin 7
14 constraints 3
15 layout-extension 2
Build time-series-based applications quickly and at scale.
InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.