Skip to content

Q42/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

Releases

No releases published

Packages

No packages published

Languages

  • Swift 100.0%