Skip to content
This repository was archived by the owner on Jun 17, 2018. It is now read-only.

Commit 05ad6c5

Browse files
committed
Merge branch 'master' into swift3.0
Conflicts: Example/PagingMenuControllerDemo.xcodeproj/project.pbxproj
2 parents b8db5e6 + 706c4a6 commit 05ad6c5

File tree

8 files changed

+61
-41
lines changed

8 files changed

+61
-41
lines changed

.swift-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.3

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1+
# 1.2.0 Release notes (2016/09-17)
2+
3+
### Enhancements
4+
5+
- Support Swift 2.3
6+
- Delete @objc from `PagingMenuControllerDelegate` protocol thanks to @Guoxweii
7+
- Change behaviour of view hiding
8+
19
# 1.1.2 Release notes (2016/06-16)
210

11+
### Bug fixed
12+
313
- Fix warning in iOS 8.1 thanks to @ahirusun
414

515
# 1.1.1 Release notes (2016/06-12)

Example/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
source 'https://rubygems.org'
22

3-
gem 'cocoapods', '1.0.1'
3+
gem 'cocoapods', '1.1.0.rc.2'

Example/Gemfile.lock

Lines changed: 23 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,37 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
activesupport (5.0.0.1)
5-
concurrent-ruby (~> 1.0, >= 1.0.2)
4+
activesupport (4.2.7.1)
65
i18n (~> 0.7)
6+
json (~> 1.7, >= 1.7.7)
77
minitest (~> 5.1)
8+
thread_safe (~> 0.3, >= 0.3.4)
89
tzinfo (~> 1.1)
910
claide (1.0.0)
10-
cocoapods (1.0.1)
11-
activesupport (>= 4.0.2)
11+
cocoapods (1.1.0.rc.2)
12+
activesupport (>= 4.0.2, < 5)
1213
claide (>= 1.0.0, < 2.0)
13-
cocoapods-core (= 1.0.1)
14-
cocoapods-deintegrate (>= 1.0.0, < 2.0)
15-
cocoapods-downloader (>= 1.0.0, < 2.0)
14+
cocoapods-core (= 1.1.0.rc.2)
15+
cocoapods-deintegrate (>= 1.0.1, < 2.0)
16+
cocoapods-downloader (>= 1.1.1, < 2.0)
1617
cocoapods-plugins (>= 1.0.0, < 2.0)
1718
cocoapods-search (>= 1.0.0, < 2.0)
1819
cocoapods-stats (>= 1.0.0, < 2.0)
1920
cocoapods-trunk (>= 1.0.0, < 2.0)
20-
cocoapods-try (>= 1.0.0, < 2.0)
21+
cocoapods-try (>= 1.1.0, < 2.0)
2122
colored (~> 1.2)
2223
escape (~> 0.0.4)
23-
fourflusher (~> 0.3.0)
24-
molinillo (~> 0.4.5)
24+
fourflusher (~> 1.0.1)
25+
gh_inspector (~> 1.0)
26+
molinillo (~> 0.5.1)
2527
nap (~> 1.0)
26-
xcodeproj (>= 1.1.0, < 2.0)
27-
cocoapods-core (1.0.1)
28-
activesupport (>= 4.0.2)
28+
xcodeproj (>= 1.3.1, < 2.0)
29+
cocoapods-core (1.1.0.rc.2)
30+
activesupport (>= 4.0.2, < 5)
2931
fuzzy_match (~> 2.0.4)
3032
nap (~> 1.0)
31-
cocoapods-deintegrate (1.0.0)
32-
cocoapods-downloader (1.1.0)
33+
cocoapods-deintegrate (1.0.1)
34+
cocoapods-downloader (1.1.1)
3335
cocoapods-plugins (1.0.0)
3436
nap
3537
cocoapods-search (1.0.0)
@@ -39,19 +41,20 @@ GEM
3941
netrc (= 0.7.8)
4042
cocoapods-try (1.1.0)
4143
colored (1.2)
42-
concurrent-ruby (1.0.2)
4344
escape (0.0.4)
44-
fourflusher (0.3.2)
45+
fourflusher (1.0.1)
4546
fuzzy_match (2.0.4)
47+
gh_inspector (1.0.2)
4648
i18n (0.7.0)
49+
json (1.8.3)
4750
minitest (5.9.0)
48-
molinillo (0.4.5)
51+
molinillo (0.5.1)
4952
nap (1.1.0)
5053
netrc (0.7.8)
5154
thread_safe (0.3.5)
5255
tzinfo (1.2.2)
5356
thread_safe (~> 0.1)
54-
xcodeproj (1.2.0)
57+
xcodeproj (1.3.1)
5558
activesupport (>= 3)
5659
claide (>= 1.0.0, < 2.0)
5760
colored (~> 1.2)
@@ -60,7 +63,7 @@ PLATFORMS
6063
ruby
6164

6265
DEPENDENCIES
63-
cocoapods (= 1.0.1)
66+
cocoapods (= 1.1.0.rc.2)
6467

6568
BUNDLED WITH
6669
1.12.5

Example/PagingMenuControllerDemo.xcodeproj/project.pbxproj

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -422,11 +422,9 @@
422422
};
423423
EC7BA3F61B524BB4007FB8A5 = {
424424
CreatedOnToolsVersion = 6.4;
425-
LastSwiftMigration = 0800;
426425
};
427426
EC7BA40A1B524BB4007FB8A5 = {
428427
CreatedOnToolsVersion = 6.4;
429-
LastSwiftMigration = 0800;
430428
TestTargetID = EC7BA3F61B524BB4007FB8A5;
431429
};
432430
EC96215C1C5B4F1700DA6EE6 = {
@@ -516,7 +514,7 @@
516514
);
517515
runOnlyForDeploymentPostprocessing = 0;
518516
shellPath = /bin/sh;
519-
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
517+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
520518
showEnvVarsInLog = 0;
521519
};
522520
229F81CB8BD76DBAF1B4719F /* [CP] Embed Pods Frameworks */ = {
@@ -561,7 +559,7 @@
561559
);
562560
runOnlyForDeploymentPostprocessing = 0;
563561
shellPath = /bin/sh;
564-
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
562+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
565563
showEnvVarsInLog = 0;
566564
};
567565
81D7254A1C3EA86418ABA06D /* [CP] Check Pods Manifest.lock */ = {
@@ -576,7 +574,7 @@
576574
);
577575
runOnlyForDeploymentPostprocessing = 0;
578576
shellPath = /bin/sh;
579-
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
577+
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
580578
showEnvVarsInLog = 0;
581579
};
582580
8EBB653436FDCF3C48E9A04C /* [CP] Embed Pods Frameworks */ = {
@@ -837,7 +835,7 @@
837835
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
838836
PRODUCT_BUNDLE_IDENTIFIER = "com.kitasuke.$(PRODUCT_NAME:rfc1034identifier)";
839837
PRODUCT_NAME = "$(TARGET_NAME)";
840-
SWIFT_VERSION = 3.0;
838+
SWIFT_VERSION = 2.3;
841839
TARGETED_DEVICE_FAMILY = "1,2";
842840
};
843841
name = Debug;
@@ -852,7 +850,7 @@
852850
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
853851
PRODUCT_BUNDLE_IDENTIFIER = "com.kitasuke.$(PRODUCT_NAME:rfc1034identifier)";
854852
PRODUCT_NAME = "$(TARGET_NAME)";
855-
SWIFT_VERSION = 3.0;
853+
SWIFT_VERSION = 2.3;
856854
TARGETED_DEVICE_FAMILY = "1,2";
857855
};
858856
name = Release;
@@ -875,7 +873,7 @@
875873
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
876874
PRODUCT_BUNDLE_IDENTIFIER = "com.kitasuke.$(PRODUCT_NAME:rfc1034identifier)";
877875
PRODUCT_NAME = "$(TARGET_NAME)";
878-
SWIFT_VERSION = 3.0;
876+
SWIFT_VERSION = 2.3;
879877
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PagingMenuControllerDemo.app/PagingMenuControllerDemo";
880878
};
881879
name = Debug;
@@ -894,7 +892,7 @@
894892
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
895893
PRODUCT_BUNDLE_IDENTIFIER = "com.kitasuke.$(PRODUCT_NAME:rfc1034identifier)";
896894
PRODUCT_NAME = "$(TARGET_NAME)";
897-
SWIFT_VERSION = 3.0;
895+
SWIFT_VERSION = 2.3;
898896
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PagingMenuControllerDemo.app/PagingMenuControllerDemo";
899897
};
900898
name = Release;
@@ -914,7 +912,7 @@
914912
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
915913
PRODUCT_BUNDLE_IDENTIFIER = "com.yusuke.$(PRODUCT_NAME:rfc1034identifier)";
916914
PRODUCT_NAME = "$(TARGET_NAME)";
917-
SWIFT_VERSION = 3.0;
915+
SWIFT_VERSION = 2.3;
918916
TARGETED_DEVICE_FAMILY = "1,2";
919917
};
920918
name = Debug;
@@ -930,7 +928,7 @@
930928
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
931929
PRODUCT_BUNDLE_IDENTIFIER = "com.yusuke.$(PRODUCT_NAME:rfc1034identifier)";
932930
PRODUCT_NAME = "$(TARGET_NAME)";
933-
SWIFT_VERSION = 3.0;
931+
SWIFT_VERSION = 2.3;
934932
TARGETED_DEVICE_FAMILY = "1,2";
935933
};
936934
name = Release;
@@ -952,7 +950,7 @@
952950
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
953951
PRODUCT_BUNDLE_IDENTIFIER = "com.yusuke.$(PRODUCT_NAME:rfc1034identifier)";
954952
PRODUCT_NAME = "$(TARGET_NAME)";
955-
SWIFT_VERSION = 3.0;
953+
SWIFT_VERSION = 2.3;
956954
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PagingMenuControllerDemo2.app/PagingMenuControllerDemo2";
957955
};
958956
name = Debug;
@@ -970,7 +968,7 @@
970968
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
971969
PRODUCT_BUNDLE_IDENTIFIER = "com.yusuke.$(PRODUCT_NAME:rfc1034identifier)";
972970
PRODUCT_NAME = "$(TARGET_NAME)";
973-
SWIFT_VERSION = 3.0;
971+
SWIFT_VERSION = 2.3;
974972
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PagingMenuControllerDemo2.app/PagingMenuControllerDemo2";
975973
};
976974
name = Release;
@@ -984,7 +982,7 @@
984982
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
985983
PRODUCT_BUNDLE_IDENTIFIER = com.kitasuke.PagingMenuControllerDemoUITests;
986984
PRODUCT_NAME = "$(TARGET_NAME)";
987-
SWIFT_VERSION = 3.0;
985+
SWIFT_VERSION = 2.3;
988986
TEST_TARGET_NAME = PagingMenuControllerDemo;
989987
USES_XCTRUNNER = YES;
990988
};
@@ -998,7 +996,7 @@
998996
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
999997
PRODUCT_BUNDLE_IDENTIFIER = com.kitasuke.PagingMenuControllerDemoUITests;
1000998
PRODUCT_NAME = "$(TARGET_NAME)";
1001-
SWIFT_VERSION = 3.0;
999+
SWIFT_VERSION = 2.3;
10021000
TEST_TARGET_NAME = PagingMenuControllerDemo;
10031001
USES_XCTRUNNER = YES;
10041002
};

Example/Podfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,11 @@ end
1313
target 'PagingMenuControllerDemoTests' do
1414
pod "PagingMenuController", :path => "../"
1515
end
16+
17+
post_install do |installer|
18+
installer.pods_project.targets.each do |target|
19+
target.build_configurations.each do |config|
20+
config.build_settings['SWIFT_VERSION'] = '2.3'
21+
end
22+
end
23+
end

Example/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- PagingMenuController (1.1.2)
2+
- PagingMenuController (1.2.0)
33

44
DEPENDENCIES:
55
- PagingMenuController (from `../`)
@@ -9,8 +9,8 @@ EXTERNAL SOURCES:
99
:path: "../"
1010

1111
SPEC CHECKSUMS:
12-
PagingMenuController: a47a9669760b95f630cc3ef28bdce104f9107d14
12+
PagingMenuController: a2ee82351f712be10ff31e59c11221a04fcc8a73
1313

14-
PODFILE CHECKSUM: 182e65100ed4f1fc8683837abd55ef28346367f5
14+
PODFILE CHECKSUM: feeaab97b60472ba8dc5311a64901870d343601f
1515

16-
COCOAPODS: 1.0.1
16+
COCOAPODS: 1.1.0.rc.2

PagingMenuController.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
Pod::Spec.new do |s|
1111
s.name = "PagingMenuController"
12-
s.version = "1.1.2"
12+
s.version = "1.2.0"
1313
s.summary = "A paging view with customizable menu"
1414
s.homepage = "https://github.com/kitasuke/PagingMenuController"
1515
s.license = 'MIT'

0 commit comments

Comments
 (0)