Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 773 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 773 Bytes

UIHostingConfigurationBackport

Swift Package Manager

A backport of UIHostingConfiguration for iOS 14.0+.

import UIHostingConfigurationBackport

cell.contentConfiguration = UIHostingConfigurationBackport {
    HStack {
        Image(systemName: "star").foregroundStyle(.purple)
        Text("Favorites")
        Spacer()
    }
}

Installation

Swift Package Manager

.package(url: "https://github.com/woxtu/UIHostingConfigurationBackport.git", from: "0.1.0")

License

Licensed under the MIT license.