General-purpose contextual cards for iOS
â You will need Xcode 10 to use BulletinBoard 3.0.
isShowingBulletin
property (thanks @kennyDang)willDisplay
method to BLTNItem (thanks @kizitonwose)Note: Carthage binaries won't be supplied anymore, for security and convenience reasons; as we can't provide reliable support for past and upcoming versions of Xcode in that file.
This release fixes a crash for CocoaPods users caused by a missing resource file in the Podspec.
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.
In your Podfile
, change the line where your declare BulletinBoard as a dependency:
pod "BulletinBoard", "~> 2.0"
And run pod update
.
In your Cartfile
, change the line where your declare BulletinBoard as a dependency:
github "alexaubry/BulletinBoard" ~> 2.0
And run carthage update
.
This version contains major source breaking changes. If you need help, please refer to the migration guide, or open an issue.
BulletinInterfaceFactory
in two more open classes: BLTNAppearance
for appearance customization, andBLTNInterfaceBuilde
for interface components creationBLTNActionItem
as a root bulletin item for items with buttons. Handles button creation and tap events. Views above and below buttons are customizableHighlightButton
from public API- You can no longer pass a completion block on dismissal
To execute some code when the item is dismissed, set the dismissalHandler
property when creating the item.
Old
manager.dismissBulletin(animated: true) {
print("Bulletin dismissed")
}
New
let item: BulletinItem = ...
item.dismissalHandler = { item in
print("Bulletin dismissed")
}
manager.dismissBulletin(animated: true) // calls the dismissalHandler
pod update
carthage update
95e3057f8d39731da134c5dac05f8aaece0c253f8967c28b4b3a495a993a733a
pod update
carthage update
2149ce8f0580ead3650bcdbea96bb176eddffec6b880e5613bdebbe245b40193