WhatsNewKit Versions Save

Showcase your awesome new app features 📱

1.3.5

3 years ago

Bug fix

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)

1.3.4

3 years ago

Bug fix

1.3.3

4 years ago

Bug fix

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.

1.3.2

4 years ago

Title Mode | PR from @Fudge0952 (https://github.com/SvenTiigi/WhatsNewKit/pull/38)

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.

Hide Status-Bar (https://github.com/SvenTiigi/WhatsNewKit/issues/35)

This version adds the option to hide the status bar.

// Hide Status-Bar
configuration.prefersStatusBarHidden =  true

☝️ In default prefersStatusBarHidden is set to false.

1.3.1

4 years ago

Dark-Mode Theme Support

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
)

Right Layout

Added right layout (https://github.com/SvenTiigi/WhatsNewKit/pull/28)

WhatsNewKit comes with three predefined ItemsView.Layouts.

Left Centered Right
Default Layout Centered Layout Right Layout
// 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.

1.3.0

4 years ago

iOS 13 Support

1.2.0

4 years ago

Swift Package Manager Support

Added support for Swift Package Manager 📦

1.1.9

5 years ago

ItemsView animation bug fix

Fixed a bug where the ItemsView has not been correctly animated (https://github.com/SvenTiigi/WhatsNewKit/issues/20)

1.1.8

5 years ago

Swift 5 support

This release adds Swift 5 and Xcode 10.2 support

1.1.7

5 years ago

iOS 9 Minimum Deployment Target

The minimum deployment target has been lowered from iOS 10.0 to iOS 9.0

ContentMode

Setting the ContentMode in the ItemsView Configuration will adjust for how your features are arranged along the axis.

Top Center Fill
ContentMode Top ContentMode Center ContentMode 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.