PinImageView

class PinImageView : UIImageView

Pin or anchor image view, that usually represents an arrow to point in selected slice.

  • Setups auto layouts with preferences

    Declaration

    Swift

    func setupAutoLayout(with preferences: SFWConfiguration.PinImageViewPreferences?)

    Parameters

    preferences

    Spin button preferences, that contains layouts preference variables.

  • Updates pin image

    Declaration

    Swift

    func image(name: String?)

    Parameters

    name

    Image name from assets catalog

  • Updates pin image view background color and layer

    Declaration

    Swift

    func configure(with preferences: SFWConfiguration.PinImageViewPreferences?)

    Parameters

    preferences

    Preferences that contains appearance preference variables.