Showcase your awesome new app features 📱
Fixed a bug where the comparison of two WhatsNew.Version
instances might ended up in a wrong result (PR https://github.com/SvenTiigi/WhatsNewKit/pull/43)
Fixed a bug (https://github.com/SvenTiigi/WhatsNewKit/pull/40) which caused the following Xcode output when changing/updating the CompletionButton
background color
CGContextSetFillColorWithColor: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
CGContextGetCompositeOperation: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
CGContextSetCompositeOperation: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
CGContextFillRects: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
CGContextSetCompositeOperation: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.
In default the TitleView is sticked to the top.
If you wish that the TitleView scrolls with the ItemsView you can change the titleMode
on the TitleView configuration.
// TitleView scrolls alongside with the ItemsView
configuration.titleView.titleMode = .scrolls
// TitleView is fixed to top
configuration.titleView.titleMode = .fixed
☝️ In default the titleMode is set to
.fixed
.
This version adds the option to hide the status bar.
// Hide Status-Bar
configuration.prefersStatusBarHidden = true
☝️ In default prefersStatusBarHidden is set to
false
.
Added support for Dark-Mode when using a predefined Theme (https://github.com/SvenTiigi/WhatsNewKit/issues/29, https://github.com/SvenTiigi/WhatsNewKit/pull/30)
Use the .red
Theme if you wish that a predefined Theme like .darkRed
and .whiteRed
automatically adapts to the current UserInterfaceStyle.
// Configuration with predefine `red` Theme which auto adapts to the UserInterfaceStyle
// in order to support iOS 13 Dark-Mode
let configuration = WhatsNewViewController.Configuration(
theme: .red
)
Added right layout (https://github.com/SvenTiigi/WhatsNewKit/pull/28)
WhatsNewKit
comes with three predefined ItemsView.Layouts
.
Left | Centered | Right |
---|---|---|
// Left Layout
configuration.itemsView.layout = .left
// Centered Layout
configuration.itemsView.layout = .centered
// Right Layout
configuration.itemsView.layout = .right
☝️ In default the ItemsView layout is set to
.left
.
contentMode
was no correctly displayed (https://github.com/SvenTiigi/WhatsNewKit/issues/24).WhatsNew.Version
now gets stored even if the WhatsNewViewController
modal presentation is cancelled via a slide down under iOS13Added support for Swift Package Manager 📦
Fixed a bug where the ItemsView
has not been correctly animated (https://github.com/SvenTiigi/WhatsNewKit/issues/20)
This release adds Swift 5 and Xcode 10.2 support
The minimum deployment target has been lowered from iOS 10.0
to iOS 9.0
Setting the ContentMode
in the ItemsView
Configuration will adjust for how your features are arranged along the axis.
Top | Center | Fill |
---|---|---|
// ContentMode Top
configuration.itemsView.contentMode = .top
// ContentMode Center
configuration.itemsView.contentMode = .center
// ContentMode Fill
configuration.itemsView.contentMode = .fill
☝️ In default the ItemsView ContentMode is set to
top
.