Skip to content

woxtu/UIHostingConfigurationBackport

Repository files navigation

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.

About

A backport of UIHostingConfiguration for iOS 14.0+

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages