BulletinDataSource
enum BulletinDataSource
A set of tools to interact with the demo data.
This demonstrates how to create and configure bulletin items.
-
Undocumented
Declaration
Swift
static func makeFilterPage() -> BLTNPageItem
-
Undocumented
Declaration
Swift
static func makeFilterNextPage() -> BLTNPageItem
-
Create the introduction page.
This creates a
FeedbackPageBulletinItem
with: a title, an image, a description text and and action button.The action button presents the next item (the notification page).
Declaration
Swift
static func makeIntroPage() -> BLTNPageItem
-
Create the notifications page.
This creates a
FeedbackPageBulletinItem
with: a title, an image, a description text, an action and an alternative button.The action and the alternative buttons present the next item (the location page). The action button starts a notification registration request.
Declaration
Swift
static func makeNotitificationsPage() -> BLTNPageItem
-
Create the location page.
This creates a
FeedbackPageBulletinItem
with: a title, an image, a compact description text, an action and an alternative button.The action and the alternative buttons present the next item (the animal choice page). The action button requests permission for location.
Declaration
Swift
static func makeLocationPage() -> BLTNPageItem
-
Create the location page.
This creates a
PageBulletinItem
with: a title, an image, a description text, and an action button. The item can be dismissed. The tint color of the action button is customized.The action button dismisses the bulletin. The alternative button pops to the root item.
Declaration
Swift
static func makeCompletionPage() -> BLTNPageItem