Skip to content

Commit 2c04a06

Browse files
committed
Merge branch 'hotfix/1.2.1' into develop
2 parents 1ea09fd + 1b00e0c commit 2c04a06

File tree

18 files changed

+82
-72
lines changed

18 files changed

+82
-72
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.2.0
8+
module_version: 1.2.1
99
output: docs/output
1010
theme: fullwidth

.travis.yml

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
language: objective-c
2-
osx_image: xcode8
3-
matrix:
4-
include:
5-
- env: VERSION=9.3
6-
- env: VERSION=latest
7-
before_script:
8-
- if [ -n "$DANGER_GITHUB_API_TOKEN" ]; then bundle exec danger; fi
9-
script:
10-
- bundle exec rake ci:build[$VERSION]
11-
- make -B carthage
12-
- make -B docs
13-
after_script:
14-
- sh scripts/update-docs.sh
2+
osx_image: xcode8.2
153
cache:
164
bundler: true
175
directories:
@@ -24,7 +12,9 @@ install:
2412
before_script:
2513
- xcodebuild -workspace ICInputAccessory.xcworkspace -list
2614
script:
27-
- bundle exec rake ci:build[$VERSION]
15+
- bundle exec rake ci:build
16+
- make -B carthage
17+
- make -B docs
2818
notifications:
2919
email: false
3020
slack:

CHANGELOG.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,16 @@
55
* Swift 3.0
66
* Support `pod try ICInputAccessory`
77

8-
## v1.2.0
8+
## v1.2.1
99

10-
#### Changes
10+
* Update to Xcode 8.2
11+
12+
## v1.2.0
1113

1214
* Swift 2.3
1315

1416
## v1.1.0
1517

16-
#### Changes
17-
1818
* Swift 2.2
1919
* Support storyboard
2020
* Support subspecs
@@ -23,7 +23,5 @@
2323

2424
Initial release written in Swift 2.1.
2525

26-
#### Changes
27-
2826
* `ICKeyboardDismissTextField` with an accessory view to dismiss keyboard.
2927
* `ICTokenField`, a text field that groups input texts as tokens.

Example.xcodeproj/project.pbxproj

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,17 +187,17 @@
187187
isa = PBXProject;
188188
attributes = {
189189
LastSwiftUpdateCheck = 0720;
190-
LastUpgradeCheck = 0800;
190+
LastUpgradeCheck = 0820;
191191
ORGANIZATIONNAME = "Polydice, Inc.";
192192
TargetAttributes = {
193193
B548C5C11C8E91B0009D5AEE = {
194194
CreatedOnToolsVersion = 7.2.1;
195-
LastSwiftMigration = 0800;
195+
LastSwiftMigration = 0820;
196196
TestTargetID = B5E9F8FA1C8D3B6E00443DC7;
197197
};
198198
B5E9F8FA1C8D3B6E00443DC7 = {
199199
CreatedOnToolsVersion = 7.2.1;
200-
LastSwiftMigration = 0800;
200+
LastSwiftMigration = 0820;
201201
};
202202
};
203203
};
@@ -429,6 +429,7 @@
429429
ONLY_ACTIVE_ARCH = YES;
430430
SDKROOT = iphoneos;
431431
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
432+
SWIFT_VERSION = 3.0;
432433
};
433434
name = Debug;
434435
};
@@ -468,6 +469,8 @@
468469
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
469470
MTL_ENABLE_DEBUG_INFO = NO;
470471
SDKROOT = iphoneos;
472+
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
473+
SWIFT_VERSION = 3.0;
471474
VALIDATE_PRODUCT = YES;
472475
};
473476
name = Release;

Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "0800"
3+
LastUpgradeVersion = "0820"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

Example/Base.lproj/LaunchScreen.storyboard

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="IdP-BZ-jEu">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1212" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="IdP-BZ-jEu">
3+
<device id="retina4_7" orientation="portrait">
4+
<adaptation id="fullscreen"/>
5+
</device>
36
<dependencies>
47
<deployment identifier="iOS"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
9+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
610
</dependencies>
711
<scenes>
812
<!--View Controller-->
@@ -14,9 +18,9 @@
1418
<viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
1519
</layoutGuides>
1620
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
17-
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
21+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
1822
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
19-
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
23+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
2024
</view>
2125
<navigationItem key="navigationItem" id="wKR-dx-tdo"/>
2226
</viewController>

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.2.0</string>
18+
<string>1.2.1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

Example/Main.storyboard

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2-
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="XY5-gz-UXC">
2+
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1212" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="XY5-gz-UXC">
3+
<device id="retina4_7" orientation="portrait">
4+
<adaptation id="fullscreen"/>
5+
</device>
36
<dependencies>
47
<deployment identifier="iOS"/>
5-
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/>
8+
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11757"/>
69
<capability name="Constraints to layout margins" minToolsVersion="6.0"/>
10+
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
711
</dependencies>
812
<scenes>
913
<!--ICInputAccessory-->
1014
<scene sceneID="ssv-qC-OfH">
1115
<objects>
1216
<tableViewController id="0fq-Xw-Z0G" customClass="StoryboardViewController" customModule="Example" customModuleProvider="target" sceneMemberID="viewController">
1317
<tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="static" style="grouped" separatorStyle="default" allowsSelection="NO" rowHeight="44" sectionHeaderHeight="18" sectionFooterHeight="18" id="ZTV-zA-HhW">
14-
<rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
18+
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
1519
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
16-
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="calibratedRGB"/>
20+
<color key="backgroundColor" red="0.93725490199999995" green="0.93725490199999995" blue="0.95686274510000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
1721
<button key="tableFooterView" opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" id="N87-CU-PrP">
18-
<rect key="frame" x="0.0" y="269.5" width="600" height="88"/>
22+
<rect key="frame" x="0.0" y="219" width="375" height="88"/>
1923
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
2024
<fontDescription key="fontDescription" type="system" pointSize="15"/>
2125
<state key="normal" title="Back to Code"/>
@@ -27,14 +31,14 @@
2731
<tableViewSection headerTitle="Dismiss Keyboard" id="tmE-Ln-PNX">
2832
<cells>
2933
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="hiq-lt-L5I">
30-
<rect key="frame" x="0.0" y="113.5" width="600" height="44"/>
34+
<rect key="frame" x="0.0" y="56" width="375" height="44"/>
3135
<autoresizingMask key="autoresizingMask"/>
3236
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="hiq-lt-L5I" id="dNb-Qm-7pq">
33-
<rect key="frame" x="0.0" y="0.0" width="600" height="43.5"/>
37+
<rect key="frame" x="0.0" y="0.0" width="375" height="43"/>
3438
<autoresizingMask key="autoresizingMask"/>
3539
<subviews>
3640
<textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="Storyboard ICKeyboardDismissTextField" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="qdb-Ab-nYe" customClass="ICKeyboardDismissTextField" customModule="ICInputAccessory">
37-
<rect key="frame" x="18" y="12" width="564" height="20"/>
41+
<rect key="frame" x="18" y="12" width="339" height="20"/>
3842
<fontDescription key="fontDescription" type="system" pointSize="16"/>
3943
<textInputTraits key="textInputTraits"/>
4044
<connections>
@@ -54,16 +58,16 @@
5458
<tableViewSection headerTitle="Text Field with Tokens" id="dx2-iZ-OPN">
5559
<cells>
5660
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="nCe-ZG-eEP">
57-
<rect key="frame" x="0.0" y="207.5" width="600" height="44"/>
61+
<rect key="frame" x="0.0" y="157" width="375" height="44"/>
5862
<autoresizingMask key="autoresizingMask"/>
5963
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="nCe-ZG-eEP" id="6tu-Im-VHX">
60-
<rect key="frame" x="0.0" y="0.0" width="600" height="43.5"/>
64+
<rect key="frame" x="0.0" y="0.0" width="375" height="43"/>
6165
<autoresizingMask key="autoresizingMask"/>
6266
<subviews>
6367
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2dP-7v-mWC" customClass="ICTokenField" customModule="ICInputAccessory">
64-
<rect key="frame" x="0.0" y="0.0" width="600" height="44"/>
65-
<color key="backgroundColor" white="0.33333333333333331" alpha="1" colorSpace="calibratedWhite"/>
66-
<color key="tintColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
68+
<rect key="frame" x="0.0" y="0.0" width="375" height="44"/>
69+
<color key="backgroundColor" red="0.33333333333333331" green="0.33333333333333331" blue="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
70+
<color key="tintColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
6771
<userDefinedRuntimeAttributes>
6872
<userDefinedRuntimeAttribute type="string" keyPath="placeholder" value="Storyboard ICTokenField"/>
6973
<userDefinedRuntimeAttribute type="image" keyPath="icon" value="icook-iphone-input-search"/>
@@ -74,7 +78,7 @@
7478
<real key="value" value="0.0"/>
7579
</userDefinedRuntimeAttribute>
7680
<userDefinedRuntimeAttribute type="color" keyPath="textColor">
77-
<color key="value" white="1" alpha="1" colorSpace="calibratedWhite"/>
81+
<color key="value" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
7882
</userDefinedRuntimeAttribute>
7983
</userDefinedRuntimeAttributes>
8084
</view>
@@ -104,10 +108,10 @@
104108
<view contentMode="scaleToFill" id="zaj-ho-SsM" customClass="ICKeyboardDismissAccessoryView" customModule="ICInputAccessory">
105109
<rect key="frame" x="0.0" y="0.0" width="320" height="60"/>
106110
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
107-
<color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
111+
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
108112
<userDefinedRuntimeAttributes>
109113
<userDefinedRuntimeAttribute type="color" keyPath="buttonColor">
110-
<color key="value" red="0.0" green="0.50196081400000003" blue="1" alpha="1" colorSpace="calibratedRGB"/>
114+
<color key="value" red="0.0" green="0.50196081400000003" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
111115
</userDefinedRuntimeAttribute>
112116
</userDefinedRuntimeAttributes>
113117
</view>

Gemfile.lock

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
GEM
22
remote: http://rubygems.org/
33
specs:
4+
CFPropertyList (2.3.4)
45
activesupport (4.2.7.1)
56
i18n (~> 0.7)
67
json (~> 1.7, >= 1.7.7)
@@ -37,12 +38,12 @@ GEM
3738
fuzzy_match (~> 2.0.4)
3839
nap (~> 1.0)
3940
cocoapods-deintegrate (1.0.1)
40-
cocoapods-downloader (1.1.2)
41+
cocoapods-downloader (1.1.3)
4142
cocoapods-plugins (1.0.0)
4243
nap
4344
cocoapods-search (1.0.0)
4445
cocoapods-stats (1.0.0)
45-
cocoapods-trunk (1.1.1)
46+
cocoapods-trunk (1.1.2)
4647
nap (>= 0.8, < 2.0)
4748
netrc (= 0.7.8)
4849
cocoapods-try (1.1.0)
@@ -71,7 +72,7 @@ GEM
7172
gh_inspector (1.0.2)
7273
git (1.3.0)
7374
i18n (0.7.0)
74-
jazzy (0.7.2)
75+
jazzy (0.7.3)
7576
cocoapods (~> 1.0)
7677
mustache (~> 0.99)
7778
open4
@@ -82,12 +83,14 @@ GEM
8283
xcinvoke (~> 0.2.1)
8384
json (1.8.3)
8485
kramdown (1.13.1)
85-
liferaft (0.0.4)
86+
liferaft (0.0.6)
8687
method_source (0.8.2)
87-
minitest (5.9.1)
88+
minitest (5.10.1)
8889
molinillo (0.5.2)
8990
multipart-post (2.0.0)
91+
xcinvoke (~> 0.3.0)
9092
mustache (0.99.8)
93+
nanaimo (0.2.3)
9194
nap (1.1.0)
9295
netrc (0.7.8)
9396
octokit (4.6.2)
@@ -99,9 +102,9 @@ GEM
99102
slop (~> 3.4)
100103
public_suffix (2.0.4)
101104
rake (11.3.0)
102-
redcarpet (3.3.4)
105+
redcarpet (3.4.0)
103106
rouge (1.11.1)
104-
sass (3.4.22)
107+
sass (3.4.23)
105108
sawyer (0.8.1)
106109
addressable (>= 2.3.5, < 2.6)
107110
faraday (~> 0.8, < 1.0)
@@ -113,12 +116,14 @@ GEM
113116
tzinfo (1.2.2)
114117
thread_safe (~> 0.1)
115118
unicode-display_width (1.1.2)
116-
xcinvoke (0.2.1)
117-
liferaft (~> 0.0.4)
118-
xcodeproj (1.3.3)
119+
xcinvoke (0.3.0)
120+
liferaft (~> 0.0.6)
121+
xcodeproj (1.4.2)
122+
CFPropertyList (~> 2.3.3)
119123
activesupport (>= 3)
120124
claide (>= 1.0.1, < 2.0)
121125
colored (~> 1.2)
126+
nanaimo (~> 0.2.3)
122127
xcpretty (0.2.4)
123128
rouge (~> 1.8)
124129

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.2.0"
3+
s.version = "1.2.1"
44
s.summary = "A customized token text field used in the iCook app."
55
s.description = <<-DESC
66
ICKeyboardDismissTextField:

0 commit comments

Comments
 (0)