From 5e4d711d9d793c80b30c2df78335ee477f6203f5 Mon Sep 17 00:00:00 2001 From: Alexsander Akers Date: Mon, 17 Sep 2018 15:19:55 +0200 Subject: [PATCH] Set pod spec's Swift version to 3.0 (#111) --- .swift-version | 1 - BulletinBoard.podspec | 1 + README.md | 6 +++--- 3 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 .swift-version diff --git a/.swift-version b/.swift-version deleted file mode 100644 index 5186d07..0000000 --- a/.swift-version +++ /dev/null @@ -1 +0,0 @@ -4.0 diff --git a/BulletinBoard.podspec b/BulletinBoard.podspec index 16e1c1f..571452b 100644 --- a/BulletinBoard.podspec +++ b/BulletinBoard.podspec @@ -19,4 +19,5 @@ Pod::Spec.new do |s| s.documentation_url = "https://alexaubry.github.io/BulletinBoard" s.module_name = "BLTNBoard" s.resources = "Resources/**/*.{lproj,png}" + s.swift_version = "3.0" end diff --git a/README.md b/README.md index 33ee398..290db67 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Here are some screenshots showing what you can build with BulletinBoard: ## Demo -A demo project is included in the `BulletinBoard` workspace. It demonstrates how to: +A demo project is included in the `BulletinBoard` workspace. It demonstrates how to: - integrate the library (setup, data flow) - create standard page cards @@ -70,7 +70,7 @@ BulletinBoard is fully compatible with Objective-C. To import it in your Objective-C app, just add this line at the top of your files: ~~~objc -@import BLTNBoard; +@import BLTNBoard; ~~~ ## Usage @@ -258,7 +258,7 @@ Several styles are available in the `BulletinBackgroundViewStyle` enum: ## Dismissal -If you set the `isDismissable` property to `true`, the user will be able to dismiss the bulletin by tapping outside of the card or by swiping the card down. This property defaults to `true`. You should set this property to `false` if completing the task is required, and should not be avoided by the user. +If you set the `isDismissable` property to `true`, the user will be able to dismiss the bulletin by tapping outside of the card or by swiping the card down. This property defaults to `true`. You should set this property to `false` if completing the task is required, and should not be avoided by the user. By default, a close button will be displayed when the item can be dismissed. If you don't want this behavior, you can set the `requiresCloseButton` property to `false`. This is useful when the bulletin already provides an action button to close the item (such as a “Done“ button).