Changelog History
Page 5
-
v0.5.1 Changes
โช Rollback window bug fix
-
v0.5.0 Changes
๐ Features
Handled the issue Exclude keyWindow occupancy #56 by adding an additional parameter
rollbackWindow
toSwiftEntryKit.display
methods.The revised interface is as follows:
โช
public class func display(entry view: UIView, using attributes: EKAttributes, rollbackWindow: UIWindow = default)
โชpublic class func display(entry viewController: UIViewController, using attributes: EKAttributes, rollbackWindow: UIWindow = default)
0๏ธโฃ After the entry has been dismissed, SwiftEntryKit rolls back to the given window value. By default it is the application key window.
-
v0.4.3 Changes
๐ Bug Fixes
- Shadow won't work with round corners #55
- Small fix related to
EKRatingMessageView
initial presentation.
-
v0.4.2 Changes
๐ Features
Feature request: Callback when presented and dismissed #50
- โ Added a
LifecycleEvents
construct toEKAttributes
. It contains the following optional callbacks: willAppear, didAppear, willDisappear, didDisappear for the currently displayed entry. - โ Added an optional completion handler for
SwiftEntryKit
'sdismiss
method.
- โ Added a
-
v0.4.0 Changes
๐ Features
Use UIViewController as an entry #40
Developers can now use a customized view controller as an entry. A sample has been added to the custom presets section in example project.
-
v0.3.3 Changes
Issues Handled:
๐ Changes:
EKButtonBarView exposes
func expand()
, it -
v0.3.1 Changes
๐ Features
- Alert & Notification Entries are image-less as well. The image parameter is optional, in case it has a
nil
value, the entry is generated without it. - โ Added
numberOfLines
toEKProperty.LabelStyle
.
- Alert & Notification Entries are image-less as well. The image parameter is optional, in case it has a
-
v0.3.0 Changes
๐ 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)