Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. iOS
  3. LeeGo

LeeGo

MITSwift0.5.1

A Swift framework for building iOS UI components like Lego bricks, making UI development declarative, configurable, and reusable.

GitHubGitHub
963 stars45 forks0 contributors

What is LeeGo?

LeeGo is a lightweight Swift framework for iOS that enables developers to build UI components in a declarative, configurable, and highly reusable way, similar to assembling Lego bricks. It solves the problem of complex and hard-to-maintain UI code in iOS projects by modularizing views into small, interchangeable pieces.

Target Audience

iOS developers working on complex applications who need to improve UI reusability, maintainability, and responsiveness, especially those familiar with Auto Layout and seeking alternatives to traditional MVC patterns.

Value Proposition

Developers choose LeeGo for its UIKit-friendly, non-intrusive approach that allows smooth integration without inheritance, its ability to update UI remotely via JSON, and its lightweight, pure value type design that enhances reusability and reduces boilerplate code.

Overview

Declarative, configurable & highly reusable UI development as making Lego bricks.

Use Cases

Best For

  • Building complex, responsive iOS UIs with reusable components
  • Decoupling and modularizing UI code in large iOS projects
  • Implementing declarative UI patterns without heavy frameworks
  • Enabling remote UI updates via JSON configuration
  • Creating self-sizing table or collection view cells
  • Adopting UIStackView-like layouts with Auto Layout

Not Ideal For

  • Projects fully migrating to SwiftUI, as LeeGo is UIKit-centric and doesn't integrate with SwiftUI's declarative paradigms
  • Apps requiring complex, built-in animations or real-time UI interactions, due to its lack of high-level animation support
  • Teams needing extensive third-party plugins or a large community ecosystem, since LeeGo is a niche framework with limited adoption
  • Simple, single-screen UIs where the overhead of brick-based architecture outweighs the benefits

Pros & Cons

Pros

Declarative Brick System

Enables UI description as small, reusable bricks using value types, reducing boilerplate and improving maintainability, as demonstrated in the Twitter enum example.

UIKit Non-Intrusive Design

Works directly with standard UIView and Auto Layout without inheritance, allowing smooth integration and no side effects when dropped.

Remote UI Updates

Supports dynamic interface changes via JSON payload, enabling server-driven UI configurations without app updates, as highlighted in the Remote documentation.

Built-in Layout Convenience

Provides UIStackView-like layout helpers and automatic cell height calculation, simplifying complex UI setups with method chaining syntax.

Cons

Limited Animation Support

Admits lack of built-in features for view animations, auto layout animations, or UIControl actions, requiring manual implementation for dynamic effects.

Auto Layout Performance Issues

Relies on standard Auto Layout, which can introduce performance bottlenecks in dense or frequently updating interfaces, as noted in the README's cons.

Steep Learning Curve

Requires proficiency in Auto Layout and Visual Format Language, adding initial overhead for developers unfamiliar with these technologies.

Open Source Alternative To

LeeGo is an open-source alternative to the following products:

F
Facebook ComponentKit

Frequently Asked Questions

Quick Stats

Stars963
Forks45
Contributors0
Open Issues20
Last commit8 years ago
CreatedSince 2016

Tags

#auto-layout#component-driven#ios#ui-framework#declarative-ui#ui-components#swift#uiview#autolayout

Built With

A
Auto Layout
C
Carthage
U
UIKit
C
CocoaPods
S
Swift

Included in

iOS51.7kSwift26.0k
Auto-fetched 11 hours ago

Related Projects

SkeletonViewSkeletonView

☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting

Stars12,880
Forks1,128
Last commit8 days ago
MaterialMaterial

A UI/UX framework for creating beautiful applications.

Stars11,990
Forks1,258
Last commit4 years ago
NVActivityIndicatorViewNVActivityIndicatorView

A collection of awesome loading animations

Stars10,707
Forks1,156
Last commit3 months ago
FSPagerViewFSPagerView

FSPagerView is an elegant Screen Slide Library. It is extremely helpful for making Banner View、Product Show、Welcome/Guide Pages、Screen/ViewController Sliders.

Stars7,365
Forks1,071
Last commit1 year ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub