Skip to content

Commit b29e7e9

Browse files
committed
Changing release version
1 parent cbd2e9b commit b29e7e9

File tree

5 files changed

+7
-12
lines changed

5 files changed

+7
-12
lines changed

FaveButton.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "FaveButton"
4-
s.version = "2.0.3"
4+
s.version = "3.0.0"
55
s.summary = "Twitter's heart like animated button written in Swift"
66
s.license = 'MIT'
77
s.homepage = 'https://github.com/xhamr/fave-button'

FaveButtonDemo/FaveButtonDemo.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@
462462
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
463463
DEVELOPMENT_TEAM = 9T9Q2EVV88;
464464
INFOPLIST_FILE = FaveButtonDemo/Info.plist;
465-
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
465+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
466466
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
467467
PRODUCT_BUNDLE_IDENTIFIER = com.xhamr.DemoFaveButton;
468468
PRODUCT_NAME = "$(TARGET_NAME)";
@@ -481,7 +481,7 @@
481481
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
482482
DEVELOPMENT_TEAM = 9T9Q2EVV88;
483483
INFOPLIST_FILE = FaveButtonDemo/Info.plist;
484-
IPHONEOS_DEPLOYMENT_TARGET = 9.3;
484+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
485485
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
486486
PRODUCT_BUNDLE_IDENTIFIER = com.xhamr.DemoFaveButton;
487487
PRODUCT_NAME = "$(TARGET_NAME)";

FaveButtonDemo/FaveButtonDemo/ViewController.swift

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ class ViewController: UIViewController, FaveButtonDelegate{
2727
override func viewDidLoad() {
2828
super.viewDidLoad()
2929

30+
// optional, set default selected fave-buttons with initial
31+
// startup animation disabled.
3032
self.heartButton?.setSelected(selected: true, animated: false)
3133

3234
self.loveButton?.setSelected(selected: true, animated: false)
@@ -41,12 +43,6 @@ class ViewController: UIViewController, FaveButtonDelegate{
4143
DotColors(first: color(0xF68FA7), second: color(0xF6A2B8))
4244
]
4345

44-
override func viewDidLoad() {
45-
super.viewDidLoad()
46-
47-
heartButton?.isSelected = true
48-
}
49-
5046
func faveButton(_ faveButton: FaveButton, didSelected selected: Bool) {
5147
}
5248

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Favorite Animated Button written in Swift
1414

1515
## Requirements
1616

17-
- iOS 9.0+
17+
- iOS 8.0+
1818
- Xcode 9
1919

2020
## Installation

Source/FaveButton.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ open class FaveButton: UIButton {
6969
didSet{
7070
guard self.animationsEnabled else {
7171
return
72-
}
73-
72+
}
7473
animateSelect(self.isSelected, duration: Const.duration)
7574
}
7675
}

0 commit comments

Comments
 (0)