SwiftEntryKit v0.2.0 Release Notes

  • ๐Ÿ”‹ Features

    ๐Ÿ‘ Keyboard support

    ๐Ÿ‘ Keyboard support can be enabled using EKAttributes.PositionConstraints.KeyboardRelation enum.

    // 10pt bottom offset from keyboard and at least 5pts from the screen edge while the keyboard is displayed.
    attributes.positionConstraints.keyboardRelation = .bind(offset: .init(bottom: 10, screenEdgeResistance: 5))
    

    Is Displaying

    Inquire if SwiftEntryKit is currently displaying an entry:

    if SwiftEntryKit.isCurrentlyDisplaying {
        /* Do Something */
    }
    

    Naming

    ๐Ÿ’… EKProperty.LabelStyle replaced EKProperty.Label.