SwiftEntryKit v0.3.0 Release Notes
-
๐ Bug Fixes
โ๏ธ Typos
EKAttributes.PositionConstraints.SafeArea.isOverriden
toEKAttributes.PositionConstraints.SafeArea.isOverridden
EKAttributes.PositionConstraints.SafeArea.overriden
toEKAttributes.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
andEKRatingMessageView
Other Changes:
Image-less popups
0๏ธโฃ
EKPopUpMessage
can be image-less by simply settingthemeImage
tonil
(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)