A SwiftUI-like DSL for building UIKit interfaces with declarative syntax, reducing UI code by over 30%.
HypeUI is a Swift library that implements Apple's SwiftUI declarative syntax on top of UIKit. It enables developers to write iOS UI code in a more intuitive and concise way, allowing existing UIKit-based projects to adopt SwiftUI-style syntax without requiring iOS 13+ or a complete rewrite.
iOS developers maintaining UIKit-based applications who want to adopt a more modern, declarative syntax without upgrading their minimum deployment target to iOS 13+. It is also suitable for teams building reusable UI components and design systems within a UIKit ecosystem.
Developers choose HypeUI because it provides the developer experience and readability of SwiftUI while maintaining full compatibility with UIKit and support for iOS 12+. Its unique selling point is enabling a gradual, non-disruptive adoption of declarative UI patterns in legacy projects, coupled with reactive bindings via RxSwift.
🌺 HypeUI is a implementation of Apple's SwiftUI DSL style based on UIKit
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Implements SwiftUI's declarative DSL with HStack, VStack, and modifiers like .frame() and .padding(), enabling intuitive UI development without requiring iOS 13+, as shown in the usage examples.
Reduces UI and AutoLayout code by over 30% compared to traditional UIKit, directly stated in the README's key features, improving readability and maintainability.
Provides UI binding extensions with RxSwift and RxCocoa for reactive data flow, as highlighted in the dependencies and usage with @Behavior and linked views.
Supports iOS 12+, allowing legacy UIKit projects to adopt modern syntax without raising deployment targets, a core value proposition in the README.
Requires RxSwift, RxCocoa, and SnapKit, increasing app size and complexity for teams not already using these libraries, as noted in the dependencies section.
Lacks many advanced SwiftUI features such as native animations, some property wrappers, and newer APIs, limiting parity with Apple's framework despite comprehensive modifiers listed.
As an external library, it's subject to breaking changes and may not have the same long-term support or update frequency as Apple's official frameworks.