BulletinBoard v2.0.0 Release Notes
Release Date: 2018-05-28 // almost 6 years ago-
๐ 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 - Create
BLTNActionItem
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