SwiftEntryKit v0.3.0 Release Notes

  • ๐Ÿ› Bug Fixes

    โœ๏ธ Typos

    EKAttributes.PositionConstraints.SafeArea.isOverriden to EKAttributes.PositionConstraints.SafeArea.isOverridden EKAttributes.PositionConstraints.SafeArea.overriden to EKAttributes.PositionConstraints.SafeArea.overridden

    ๐Ÿ”‹ Features

    โž• Added an entry transform feature (ALPHA FEATURE)

    Developers are able to transform an entry to another entry using the same attributes.

    let view = UIView()
    // Customize
    SwiftEntryKit.transform(to: view)
    

    Rating Popup

    โž• Added a rating popup (See custom presets). ๐Ÿ‘€ See also: EKRatingMessage and EKRatingMessageView

    Other Changes:

    Image-less popups

    0๏ธโƒฃ EKPopUpMessage can be image-less by simply setting themeImage to nil (or leaving its default value as is).

    /** Popup theme image */
    public struct ThemeImage {
    
        /** Position of the theme image */
        public enum Position {
            case topToTop(offset: CGFloat)
            case centerToTop(offset: CGFloat)
        }
    
        /** The content of the image */
        public var image: EKProperty.ImageContent
    
        /** The psotion of the image */
        public var position: Position
    }
    
    public init(themeImage: ThemeImage? = default, title: EKProperty.LabelContent, description: EKProperty.LabelContent, button: EKProperty.ButtonContent, action: @escaping EKPopUpMessageAction)