Skip to content

Commit 3cbb08c

Browse files
committed
Merge branch 'release/1.4.0' into develop
2 parents b36ac4d + 207327b commit 3cbb08c

File tree

10 files changed

+26
-24
lines changed

10 files changed

+26
-24
lines changed

.jazzy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ github_url: https://github.com/polydice/ICInputAccessory
55
github_file_prefix: https://github.com/polydice/ICInputAccessory/blob/develop
66
xcodebuild_arguments: [-project, ICInputAccessory.xcodeproj, -scheme, ICInputAccessory-iOS]
77
module: ICInputAccessory
8-
module_version: 1.3.0
8+
module_version: 1.4.0
99
output: docs/output
1010
theme: fullwidth

CHANGELOG.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
* Added delegate methods:
44

55
```swift
6-
@objc optional func tokenField(_ tokenField: ICTokenField, didChangeInputText text: String)
7-
@objc optional func tokenField(_ tokenField: ICTokenField, shouldCompleteText text: String) -> Bool
8-
@objc optional func tokenField(_ tokenField: ICTokenField, subsequentDelimiterForCompletedText text: String) -> String
9-
```
6+
@objc optional func tokenField(_ tokenField: ICTokenField, didChangeInputText text: String)
7+
@objc optional func tokenField(_ tokenField: ICTokenField, shouldCompleteText text: String) -> Bool
8+
@objc optional func tokenField(_ tokenField: ICTokenField, subsequentDelimiterForCompletedText text: String) -> String
9+
```
1010

11-
* Changed delegate method:
11+
* Renamed delegate method:
1212

1313
```swift
14-
@objc optional func tokenField(_ tokenField: ICTokenField, didCompleteText text: String)
15-
```
14+
@objc optional func tokenField(_ tokenField: ICTokenField, didCompleteText text: String)
15+
```
1616

1717
## v1.3.0
1818

Example/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.3.0</string>
18+
<string>1.4.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

ICInputAccessory.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "ICInputAccessory"
3-
s.version = "1.3.0"
3+
s.version = "1.4.0"
44
s.summary = "A customized token text field used in the iCook app."
55
s.description = <<-DESC
66
ICKeyboardDismissTextField:

ICInputAccessory/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.3.0</string>
18+
<string>1.4.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

ICInputAccessoryUITests/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>BNDL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.3.0</string>
18+
<string>1.4.0</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
install: brew-install bundle-install pod-install
22

33
brew-install:
4-
brew update
54
brew tap homebrew/bundle
65
brew bundle
76

@@ -11,7 +10,10 @@ bundle-install:
1110
pod-install:
1211
bundle exec pod install --no-repo-update
1312

14-
setup: brew-install
13+
bootstrap:
14+
brew tap homebrew/bundle
15+
brew bundle
16+
gem install bundler
1517
bundle install
1618
bundle exec pod install --no-repo-update
1719

Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PODS:
2-
- ICInputAccessory/KeyboardDismissTextField (1.3.0)
3-
- ICInputAccessory/TokenField (1.3.0)
2+
- ICInputAccessory/KeyboardDismissTextField (1.4.0)
3+
- ICInputAccessory/TokenField (1.4.0)
44

55
DEPENDENCIES:
66
- ICInputAccessory/KeyboardDismissTextField (from `./`)
@@ -11,7 +11,7 @@ EXTERNAL SOURCES:
1111
:path: "./"
1212

1313
SPEC CHECKSUMS:
14-
ICInputAccessory: e9142958152461ddb627e78e3f1f0a8b263b7271
14+
ICInputAccessory: dace41bea1ed8b0368bf8ffd439a215efa8effd3
1515

1616
PODFILE CHECKSUM: 6e8fb9f23fc92d92278fbf08ca8ef072ef28a486
1717

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Try <https://testflight.icook.tw>.
77
[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg)](https://github.com/Carthage/Carthage)
88
[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/ICInputAccessory.svg)](https://cocoapods.org/pods/ICInputAccessory)
99
![Platform](https://img.shields.io/cocoapods/p/ICInputAccessory.svg)
10-
[![CocoaDocs](https://img.shields.io/cocoapods/metrics/doc-percent/ICInputAccessory.svg)](http://cocoadocs.org/docsets/ICInputAccessory/)
10+
[![CocoaDocs](https://img.shields.io/cocoapods/metrics/doc-percent/ICInputAccessory.svg)](https://polydice.github.io/ICInputAccessory)
1111
![Swift 3.0](https://img.shields.io/badge/Swift-3.0-orange.svg)
1212

1313
### ICKeyboardDismissTextField
@@ -30,7 +30,7 @@ ICInputAccessory | iOS | Xcode | Swift
3030
`~> 1.0.0` | 8.0+ | 7.2 | ![Swift 2.1.1](https://img.shields.io/badge/Swift-2.1.1-orange.svg)
3131
`~> 1.1.0` | 8.0+ | 7.3 | ![Swift 2.2](https://img.shields.io/badge/Swift-2.2-orange.svg)
3232
`~> 1.2.0` | 8.0+ | 8.0 | ![Swift 2.3](https://img.shields.io/badge/Swift-2.3-orange.svg)
33-
`~> 1.3.0` | 8.0+ | 8.0 | ![Swift 3.0](https://img.shields.io/badge/Swift-3.0-orange.svg)
33+
`>= 1.3.0` | 8.0+ | 8.0 | ![Swift 3.0](https://img.shields.io/badge/Swift-3.0-orange.svg)
3434

3535
## Installation
3636

@@ -155,16 +155,16 @@ The displayed delimiter string can be customized by:
155155
* Set up dependencies by running the following command in the project root:
156156

157157
```
158-
make setup
159-
```
158+
make bootstrap
159+
```
160160

161161
* Open **ICInputAccessory.xcworkspace** and run the demo app with the `Example` scheme.
162162

163163
* See more tasks for building and testing:
164164

165165
```
166-
rake -T
167-
```
166+
rake -T
167+
```
168168

169169
## Contributing
170170

Source/TokenField/ICTokenField.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ open class ICTokenField: UIView, UITextFieldDelegate, ICBackspaceTextFieldDelega
327327

328328
// MARK: - ICBackspaceTextFieldDelegate
329329

330-
func textFieldShouldDelete(_ textField: ICBackspaceTextField) -> Bool {
330+
@nonobjc func textFieldShouldDelete(_ textField: ICBackspaceTextField) -> Bool {
331331
if tokens.isEmpty {
332332
return true
333333
}

0 commit comments

Comments
 (0)