Releases: jakemarsh/CostumeKit
Releases · jakemarsh/CostumeKit
2.0.0 - Swift Modernization with SwiftUI
Swift Modernization with SwiftUI Support
CostumeKit has been modernized with Swift Package Manager support and SwiftUI integration.
New Features
- Swift Package Manager - Primary distribution method
- SwiftUI Support -
@Environment(\.costume)for theming - UIKit Support - Full backwards compatibility
- Modern Swift - Updated for Swift 5.9+
- Dark Mode - Built-in light/dark theme support
- Semantic Colors - Type-safe color and typography definitions
Requirements
- iOS 15.0+ / macOS 12.0+ / tvOS 15.0+ / watchOS 8.0+
- Swift 5.9+
- Xcode 15+
Installation
dependencies: [
.package(url: "https://github.com/jakemarsh/CostumeKit.git", from: "2.0.0")
]What's New
- Added
CostumeEnvironmentKeyfor SwiftUI environment injection - Added
View.costume(_:)modifier - Costume protocol with associated types for type-safe theming
- Full test coverage