Package-level declarations

Types

Link copied to clipboard
class UILinkTextViewDelegateWrapper(wrapped: UITextViewDelegateProtocol) : NSObject, UITextViewDelegateProtocol

Properties

Link copied to clipboard
val KalugaTextAlignment.contentHorizontalAlignment: UIControlContentHorizontalAlignment

Gets the UIControlContentHorizontalAlignment of a KalugaTextAlignment

Link copied to clipboard

Gets the NSTextAlignment of a KalugaTextAlignment

Functions

Link copied to clipboard
fun UIView.applyBackgroundStyle(style: KalugaBackgroundStyle): CALayer

Sets a KalugaBackgroundStyle to a UIView.layer

fun CALayer.applyBackgroundStyle(style: KalugaBackgroundStyle, bounds: CValue<CGRect>): CALayer

Sets a KalugaBackgroundStyle to a CALayer

Link copied to clipboard
fun UIButton.applyImageStyle(buttonStyle: KalugaButtonStyle.WithImage<*>)
Link copied to clipboard
fun UIButton.applyStyle(buttonStyle: KalugaButtonStyle<*>)

Makes a UIButton look as specified by a KalugaButtonStyle

Link copied to clipboard
fun UIButton.applyTextStyle(buttonStyle: KalugaButtonStyle.WithText<*>)

fun UILabel.applyTextStyle(textStyle: KalugaTextStyle)

Makes a UILabel look as specified by a KalugaTextStyle

fun UITextField.applyTextStyle(textStyle: KalugaTextStyle)

Makes a UITextField look as specified by a KalugaTextStyle

fun UITextView.applyTextStyle(textStyle: KalugaTextStyle)

Makes a UITextView look as specified by a KalugaTextStyle

Link copied to clipboard
fun UIButton.bindButton(button: KalugaButton)

Makes a UIButton look and behave according to a KalugaButton

Link copied to clipboard
fun UILabel.bindLabel(label: KalugaLabel)

Makes a UILabel look like the specification of a KalugaLabel

fun UITextView.bindLabel(label: KalugaLabel)

Makes a UITextView look like the specification of a KalugaLabel