Skip to content

đź”– 2.0.0

Compare
Choose a tag to compare
@alexaubry alexaubry released this 28 May 08:52
2.0.0
493bf57

This is the second major release of the BulletinBoard framework! Thanks to every contributor for their bug reports, feature requests and help implementing the new features.

📦 Updating

CocoaPods

In your Podfile, change the line where your declare BulletinBoard as a dependency:

pod "BulletinBoard", "~> 2.0"

And run pod update.

Carthage

In your Cartfile, change the line where your declare BulletinBoard as a dependency:

github "alexaubry/BulletinBoard" ~> 2.0

And run carthage update.

⚠️ Breaking Changes

This version contains major source breaking changes. If you need help, please refer to the migration guide, or open an issue.

đź“ť Release Notes

New Features

  • Make page items more open to customization: if you create custom pages, you no longer need to recreate the standard components yourself
  • Customize fonts and more colors
  • Customize status bar colors
  • Customize bulletin background color
  • Customize corner radius
  • Customize padding between screen and bulletin
  • Hide the activity indicator without changing the current item
  • Annotate library to support Objective-C apps
  • Handle keyboard frame updates (support for text fields)
  • Support for tinting images with template rendering mode
  • Allow customization of the background view
  • Add text field as a standard control
  • Show activity indicator immediately after item is presented
  • Callback for configuration and presentation from BulletinItem

User-Facing Changes

  • On iPad, the bulletin will be presented at the center of the screen and can only be dismissed by a tap (no swipe)
  • The item will not be dismissed on swipe unless the user lifts their finger from the screen
  • Use screen corner radius on iPhone X

Bug fixes

  • Fix dismiss tap background gesture being called for touches inside the content view
  • Fix width contraint not being respected for regular layouts
  • Fix iTunes Connect rejection bug due to LLVM code coverage
  • Fix action button not being hidden when changing the item
  • Fix dismissal handler not being called
  • Fix controls inside the card not receiving touchesEnded events
  • Fix cropped bulletin when presenting above split view controller
  • Correctly reset non-dismissable cards position when swipe ends
  • Fix Auto Layout conflicts during transitions
  • Fix crash when reusing bulletin manager

Library

  • Split BulletinInterfaceFactory in two more open classes: BLTNAppearance for appearance customization, andBLTNInterfaceBuilde for interface components creation
  • CreateBLTNActionItem as a root bulletin item for items with buttons. Handles button creation and tap events. Views above and below buttons are customizable
  • Add example of a collection view bulletin item
  • Remove HighlightButton from public API
  • Various gardening operations to make comments and code more clear