SwiftEntryKit v1.1.0 Release Notes
Release Date: 2019-07-27 // over 4 years ago-
👌 Support dark mode (breaking change)
👍 Fully support dark mode pre iOS 13. New requirments were introduced:
UIColor
was replaced withEKColor
to allow specifying colors for light and dark modes.- 💅
UIBlurEffect.Style
was replacd withEKAttributes.BackgroundStyle.BlurStyle
to allow specifying visual effects for light and dark modes. - 💅
EKAttributes
contains a new attribute nameddisplayMode: DisplayMode
.displayMode
has the default value.inferred
, which means that the display mode will be inferred from the user interface style. If the running iOS version is lower than 13, the display mode will be inferred as light mode. - 👍 All the presets support the new display mode by allowing to specify
displayMode
for theirEKProperty
The list of
EKProperty
constructs that containdisplayMode
:ButtonContent
- button descriptor- 💅
LabelStyle
- label style descriptor ImageContent
- image view descriptorTextFieldContent
- text field descriptorButtonBarContent
- button bar descriptor
💅 Revamp coding style
💅 The project coding style was revamped to be more friendly and readable.