Changelog History
Page 6
-
v0.2.4 Changes
๐ Features
๐ Explicit direction of translation animation
EKAttributes.Animation.Translate
is added ananchorPosition: AnchorPosition
property:That means that an entry can translate from the top and exit from the bottom, and vice versa.
/** Describes the anchor position */ public enum AnchorPosition { /** Top position - the entry shows from top or exits towards the top */ case top /** Bottom position - the entry shows from bottom or exits towards the bottom */ case bottom /** Automatic position - the entry shows and exits according to EKAttributes.Position value. If the position of the entry is top, bottom, the entry's translation anchor is top, bottom - respectively.*/ case automatic }
๐
anchorPosition
is determined the direction of the translation animation and is.automatic
by default, meaning that the anchor is set automatically according to its position - if the position (EKAttributes.Position
) is.top
/bottom
, then the entry enters and exit from the top / bottom edge. -
v0.2.3 Changes
๐ Features
Status bar revised
- ๐
Instead of assigning the
UIStatusBarStyle
, useEKAttributes.StatusBar
to define the status bar. - The benefit is an absolute control over the status bar appearance.
- ๐ New statuses:
.hidden
- Hides the status bar.- ๐
inferred
- Infer the style from the previous style.
- ๐
Instead of assigning the
-
v0.2.2 Changes
๐ Features
โ Added Carthage Support
-
v0.2.1 Changes
๐ Bug Fix
The text of the text-fields is accessible after tapping the button using
EKFormMessageView
. ๐ Useoutput
property insideEKProperty.TextFieldContent
. -
v0.2.0 Changes
๐ 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
replacedEKProperty.Label
.