Skip to content

Commit 7371b07

Browse files
committed
Animate hiding
1 parent 3b46f94 commit 7371b07

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Demo/Demo.xcodeproj/project.pbxproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@
430430
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
431431
PRODUCT_BUNDLE_IDENTIFIER = it.swiftkick.Demo;
432432
PRODUCT_NAME = "$(TARGET_NAME)";
433-
SWIFT_VERSION = 5.0;
433+
SWIFT_VERSION = 4.2;
434434
TARGETED_DEVICE_FAMILY = "1,2";
435435
};
436436
name = Debug;
@@ -446,7 +446,7 @@
446446
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
447447
PRODUCT_BUNDLE_IDENTIFIER = it.swiftkick.Demo;
448448
PRODUCT_NAME = "$(TARGET_NAME)";
449-
SWIFT_VERSION = 5.0;
449+
SWIFT_VERSION = 4.2;
450450
TARGETED_DEVICE_FAMILY = "1,2";
451451
};
452452
name = Release;

Demo/Demo/ExploreViewController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ExploreViewController: UITableViewController, UITextFieldDelegate {
2727
view = try! SwiftMessages.viewFromNib()
2828
}
2929

30-
view.configureContent(title: titleText.text, body: bodyText.text, iconImage: nil, iconText: nil, buttonImage: nil, buttonTitle: "Hide", buttonTapHandler: { _ in SwiftMessages.hide(animated: false) })
30+
view.configureContent(title: titleText.text, body: bodyText.text, iconImage: nil, iconText: nil, buttonImage: nil, buttonTitle: "Hide", buttonTapHandler: { _ in SwiftMessages.hide() })
3131

3232
let iconStyle: IconStyle
3333
switch self.iconStyle.selectedSegmentIndex {

0 commit comments

Comments
 (0)