Bump to v1.0.0

This commit is contained in:
Yannick Loriot 2015-11-13 12:11:50 +01:00
parent 40d558e062
commit ee66e8bf5f
6 changed files with 11 additions and 9 deletions

View File

@ -1,11 +1,11 @@
# Change log
## Version 1.0.0 (Under Developement)
## [Version 1.0.0](https://github.com/yannickl/Splitflap/releases/tag/1.0.0)
Released on 2015-11-13.
- [UPDATE] Rename `supportedTokensInSplitflap:` method to `tokensInSplitflap:`
- [ADD] `setText:animated:completionBlock:` method to know when an animation finished
- [ADD] Test cases
- [ADD] Test cases
## [Version 0.2.0](https://github.com/yannickl/Splitflap/releases/tag/0.2.0)
Released on 2015-11-12.

View File

@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>0.2.0</string>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>

View File

@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>0.2.0</string>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>

View File

@ -36,7 +36,9 @@ class ViewController: UIViewController, SplitflapDataSource, SplitflapDelegate {
// MARK: - Action Methods
@IBAction func updateSplitFlapAction(sender: AnyObject) {
splitflap.setText(words[currentIndex], animated: true)
splitflap.setText(words[currentIndex], animated: true, completionBlock: {
print("Display finished!")
})
currentIndex = (currentIndex + 1) % words.count

View File

@ -90,7 +90,7 @@ source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '8.0'
use_frameworks!
pod 'Splitflap', '~> 0.2.0'
pod 'Splitflap', '~> 1.0.0'
```
Install into your project:
@ -121,7 +121,7 @@ $ brew install carthage
To integrate `Splitflap` into your Xcode project using Carthage, specify it in your `Cartfile` file:
```ogdl
github "yannickl/Splitflap" >= 0.2.0
github "yannickl/Splitflap" >= 1.0.0
```
#### Manually

View File

@ -1,8 +1,8 @@
Pod::Spec.new do |s|
s.name = 'Splitflap'
s.version = '0.2.0'
s.version = '1.0.0'
s.license = 'MIT'
s.summary = 'A simple to use split-flap display for your Swift applications'
s.summary = 'A simple split-flap display for your Swift applications'
s.description = <<-DESC
Splitflap is a simple to use component to present changeable alphanumeric text like often used as a public transport timetable in airports or railway stations or with some flip clocks.
DESC