All Versions
10
Latest Version
Avg Release Cycle
42 days
Latest Release
150 days ago

Changelog History

  • v1.3.1

    November 02, 2019

    👍 Dark-Mode Theme Support

    ➕ Added support for Dark-Mode when using a predefined Theme (#29, #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-Modelet configuration = WhatsNewViewController.Configuration( theme: .red)
    

    Right Layout

    ➕ Added right layout (#28)

    🔧 WhatsNewKit comes with three predefined ItemsView.Layouts.

    Left Centered Right
    🍱 Default Layout Centered Layout
    // Left Layoutconfiguration.itemsView.layout = .left// Centered Layoutconfiguration.itemsView.layout = .centered// Right Layoutconfiguration.itemsView.layout = .right
    

    🍱 > ☝️ In default the ItemsView layout is set to .left.

  • v1.3.0

    September 19, 2019

    👍 iOS 13 Support

    • 💅 Layout improvements to match iOS 13 style (#25).
    • 🛠 Fixed a problem under iOS 13 where animations are not triggered when presented modally (#26).
    • 🛠 Fixed a bug under iOS 13 where contentMode was no correctly displayed (#24).
    • WhatsNew.Version now gets stored even if the WhatsNewViewController modal presentation is cancelled via a slide down under iOS13
  • v1.2.0

    July 02, 2019

    📦 Swift Package Manager Support

    ➕ Added support for Swift Package Manager 📦

  • v1.1.9

    April 24, 2019

    ItemsView animation bug fix

    🛠 Fixed a bug where the ItemsView has not been correctly animated (#20)

  • v1.1.8

    April 02, 2019

    👍 Swift 5 support

    🚀 This release adds Swift 5 and Xcode 10.2 support

  • v1.1.7

    February 11, 2019

    🚀 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 Topconfiguration.itemsView.contentMode = .top// ContentMode Centerconfiguration.itemsView.contentMode = .center// ContentMode Fillconfiguration.itemsView.contentMode = .fill
    

    🍱 > ☝️ In default the ItemsView ContentMode is set to top.

  • v1.1.6

    February 02, 2019

    Layout Insets

    If you wish you can modify the layout insets of the WhatsNewViewController components.

    // Set TitleView Insets (Default values)configuration.titleView.insets = UIEdgeInsets(top: 50, left: 20, bottom: 15, right: 20)// Increase the CompletionButton Bottom Inset configuration.completionButton.insets.bottom += 10
    

    iPad Adjustments

    🔧 If you wish to modify the WhatsNewViewController.Configuration when presenting it on an iPad you can set the padAdjustment closure.

    // Set PadAdjustment closureconfiguration.padAdjustment = { configuration in// Adjust TitleView FontSize configuration.titleView.titleFont = .systemFont(ofSize: 45, weight: .bold) // Invoke default PadAdjustments (Adjusts Insets for iPad) WhatsNewViewController.Configuration.defaultPadAdjustment(&configuration) }
    

    🔧 > ☝️ In default the WhatsNewViewController.Configuration.defaultPadAdjustment will be invoked.

  • v1.1.5

    December 14, 2018

    🐛 Bug Fix

    🚀 This release fixes a bug which cause a problem when saving or retrieving the presented Version via a WhatsNewVersionStore (Issue #14)

  • v1.1.4

    December 14, 2018

    ImageSize

    🔧 In order to define the size of your images for each of your feature you can set an ImageSize on the ItemsView configuration.

    // Use the original image size as it isconfiguration.itemsView.imageSize = .original// Use the preferred image size which fits perfectly :)configuration.itemsView.imageSize = .preferred// Use a custom height for each imageconfiguration.itemsView.imageSize = .fixed(height: 25)
    

    🍱 > ☝️ By default the ItemsView ImageSize is set to preferred.

    Secondary Title Color

    🔧 By setting a SecondaryColor on the TitleView you can change the color of certain characters.

    🍱 SecondaryColor

    // Set secondary color on TitleView Configurationconfiguration.titleView.secondaryColor = .init( // The start indexstartIndex: 0, // The length of characterslength: 5, // The secondary color to apply color: .whatsNewKitLightBlue)
    

    🍱 > ☝️ By default the secondaryColor is set to nil.

    Apply TextColor

    🔧 From now on you can apply a text color globally on a configuration instead of change the TitleView and ItemsView text color manually.

    // Before:configuration.titleView.titleColor = .blackconfiguration.itemsView.titleColor = .blackconfiguration.itemsView.subtitleColor = .black// Now:configuration.apply(textColor: .black)
    
  • v1.1.3

    October 20, 2018

    Layout

    0️⃣ In this Version WhatsNewKit has the ability to change the layout from default to centered (#6).

    0️⃣ | Default | Centered | | --- | --- | 🍱 | | | 0️⃣ | The default layout shows an image on the left side and the text on the right side. | The centered layout aligns the image as well as the text in center. |

    /// Default Layoutconfiguration.itemsView.layout = .default// Centered Layoutconfiguration.itemsView.layout = .centered
    

    🍱 > ☝️ By default the ItemsView layout is set to default.

    🆕 New Example Application

    ♻️ The WhatsNewKit Example Application has been completely refactored and comes with a beautiful new UI.