ratingToStars(rating:)

static func ratingToStars(rating: Int) -> some View

View a KodiItem rating rating with stars

Parameters

rating

The rating

Return Value

A view with stars

  • Convert a number to an SF image String

    Declaration

    Swift

    func image(number: Int) -> String

    Parameters

    number

    The number

    Return Value

    The SF image as String