UISwift v1.0.0 - Initial Release
We are thrilled to announce the very first release of UISwift, a declarative framework that simplifies programmatic UI development for iOS and macOS. UISwift brings the ease and elegance of SwiftUI-like syntax to UIKit and AppKit, providing robust performance and consistent behavior.
Key Features
Declarative Syntax
- Write clean, expressive, and concise UI code with a declarative approach similar to SwiftUI.
Optional-Friendly APIs
- Seamlessly handle optional types, reducing boilerplate and enhancing developer experience.
Simplified Auto Layout
- Intuitive APIs for:
- Adding subviews individually or in groups.
- Embedding subviews with padding and constraints.
- Stacking views vertically or horizontally.
- Chaining views for organized layouts.
- Centering views in their superviews or relative to other views.
Flexible Size Constraints
- Define precise size constraints and relationships between views effortlessly.
Cross-Platform Support
- Compatible with both UIKit (iOS) and AppKit (macOS), making it a versatile choice for developers.
Installation
UISwift is available via Swift Package Manager. Add the following URL to your project:
https://github.com/piyush-2450/UISwift