Skip to content

Commit c316e0a

Browse files
authored
Merge pull request #21 from layoutBox/update_libraries
Update libraries PinLayout and FlexLayout
2 parents b4768ab + 497578a commit c316e0a

File tree

11 files changed

+91
-66
lines changed

11 files changed

+91
-66
lines changed

.ruby-version

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

.travis.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
language: objective-c
2-
osx_image: xcode10
2+
osx_image: xcode11.6
3+
4+
cache:
5+
- bundler
6+
- cocoapods
37

48
before_install:
5-
- gem install xcpretty-travis-formatter;
6-
- gem install cocoapods --no-document --quiet;
7-
- pod install --repo-update;
9+
- bundle install # --deployment # to cache vendor/bundle
10+
- bundle exec pod install --repo-update
811

912
script:
10-
- set -o pipefail && xcodebuild -workspace LayoutFrameworkBenchmark.xcworkspace -scheme LayoutFrameworkBenchmark -sdk iphonesimulator12.0 -destination 'platform=iOS Simulator,name=iPhone 8' build | xcpretty -f `xcpretty-travis-formatter`
13+
- set -o pipefail && xcodebuild -workspace LayoutFrameworkBenchmark.xcworkspace -scheme LayoutFrameworkBenchmark -sdk iphonesimulator13.6 -destination 'platform=iOS Simulator,name=iPhone 8' build | xcpretty

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
source 'https://rubygems.org'
22
gem 'synx'
33
gem 'cocoapods'
4+
gem 'xcpretty-travis-formatter'

Gemfile.lock

Lines changed: 50 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,103 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.0)
5-
activesupport (4.2.10)
4+
CFPropertyList (3.0.2)
5+
activesupport (4.2.11.3)
66
i18n (~> 0.7)
77
minitest (~> 5.1)
88
thread_safe (~> 0.3, >= 0.3.4)
99
tzinfo (~> 1.1)
10-
atomos (0.1.2)
11-
claide (1.0.2)
10+
algoliasearch (1.27.3)
11+
httpclient (~> 2.8, >= 2.8.3)
12+
json (>= 1.5.1)
13+
atomos (0.1.3)
14+
claide (1.0.3)
1215
clamp (0.6.5)
13-
cocoapods (1.5.3)
16+
cocoapods (1.9.3)
1417
activesupport (>= 4.0.2, < 5)
1518
claide (>= 1.0.2, < 2.0)
16-
cocoapods-core (= 1.5.3)
17-
cocoapods-deintegrate (>= 1.0.2, < 2.0)
18-
cocoapods-downloader (>= 1.2.0, < 2.0)
19+
cocoapods-core (= 1.9.3)
20+
cocoapods-deintegrate (>= 1.0.3, < 2.0)
21+
cocoapods-downloader (>= 1.2.2, < 2.0)
1922
cocoapods-plugins (>= 1.0.0, < 2.0)
2023
cocoapods-search (>= 1.0.0, < 2.0)
2124
cocoapods-stats (>= 1.0.0, < 2.0)
22-
cocoapods-trunk (>= 1.3.0, < 2.0)
25+
cocoapods-trunk (>= 1.4.0, < 2.0)
2326
cocoapods-try (>= 1.1.0, < 2.0)
2427
colored2 (~> 3.1)
2528
escape (~> 0.0.4)
26-
fourflusher (~> 2.0.1)
29+
fourflusher (>= 2.3.0, < 3.0)
2730
gh_inspector (~> 1.0)
28-
molinillo (~> 0.6.5)
31+
molinillo (~> 0.6.6)
2932
nap (~> 1.0)
30-
ruby-macho (~> 1.1)
31-
xcodeproj (>= 1.5.7, < 2.0)
32-
cocoapods-core (1.5.3)
33+
ruby-macho (~> 1.4)
34+
xcodeproj (>= 1.14.0, < 2.0)
35+
cocoapods-core (1.9.3)
3336
activesupport (>= 4.0.2, < 6)
37+
algoliasearch (~> 1.0)
38+
concurrent-ruby (~> 1.1)
3439
fuzzy_match (~> 2.0.4)
3540
nap (~> 1.0)
36-
cocoapods-deintegrate (1.0.2)
37-
cocoapods-downloader (1.2.1)
41+
netrc (~> 0.11)
42+
typhoeus (~> 1.0)
43+
cocoapods-deintegrate (1.0.4)
44+
cocoapods-downloader (1.4.0)
3845
cocoapods-plugins (1.0.0)
3946
nap
4047
cocoapods-search (1.0.0)
41-
cocoapods-stats (1.0.0)
42-
cocoapods-trunk (1.3.0)
48+
cocoapods-stats (1.1.0)
49+
cocoapods-trunk (1.5.0)
4350
nap (>= 0.8, < 2.0)
4451
netrc (~> 0.11)
45-
cocoapods-try (1.1.0)
52+
cocoapods-try (1.2.0)
4653
colored2 (3.1.2)
4754
colorize (0.8.1)
48-
concurrent-ruby (1.0.5)
55+
concurrent-ruby (1.1.7)
4956
escape (0.0.4)
50-
fourflusher (2.0.1)
57+
ethon (0.12.0)
58+
ffi (>= 1.3.0)
59+
ffi (1.13.1)
60+
fourflusher (2.3.1)
5161
fuzzy_match (2.0.4)
5262
gh_inspector (1.1.3)
63+
httpclient (2.8.3)
5364
i18n (0.9.5)
5465
concurrent-ruby (~> 1.0)
55-
minitest (5.11.3)
56-
molinillo (0.6.5)
57-
nanaimo (0.2.5)
66+
json (2.3.1)
67+
minitest (5.14.1)
68+
molinillo (0.6.6)
69+
nanaimo (0.3.0)
5870
nap (1.1.0)
5971
netrc (0.11.0)
60-
ruby-macho (1.1.0)
72+
rouge (2.0.7)
73+
ruby-macho (1.4.0)
6174
synx (0.2.1)
6275
clamp (~> 0.6)
6376
colorize (~> 0.7)
6477
xcodeproj (~> 1.0)
6578
thread_safe (0.3.6)
66-
tzinfo (1.2.5)
79+
typhoeus (1.4.0)
80+
ethon (>= 0.9.0)
81+
tzinfo (1.2.7)
6782
thread_safe (~> 0.1)
68-
xcodeproj (1.5.9)
83+
xcodeproj (1.18.0)
6984
CFPropertyList (>= 2.3.3, < 4.0)
70-
atomos (~> 0.1.2)
85+
atomos (~> 0.1.3)
7186
claide (>= 1.0.2, < 2.0)
7287
colored2 (~> 3.1)
73-
nanaimo (~> 0.2.5)
88+
nanaimo (~> 0.3.0)
89+
xcpretty (0.3.0)
90+
rouge (~> 2.0.7)
91+
xcpretty-travis-formatter (1.0.0)
92+
xcpretty (~> 0.2, >= 0.0.7)
7493

7594
PLATFORMS
7695
ruby
7796

7897
DEPENDENCIES
7998
cocoapods
8099
synx
100+
xcpretty-travis-formatter
81101

82102
BUNDLED WITH
83-
1.16.1
103+
2.1.2

LayoutFrameworkBenchmark.xcodeproj/project.pbxproj

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,6 @@
241241
TargetAttributes = {
242242
24661CFB1F4EFFF5002CB883 = {
243243
CreatedOnToolsVersion = 8.3.2;
244-
DevelopmentTeam = ZYH5WDPX24;
245244
LastSwiftMigration = 1010;
246245
ProvisioningStyle = Automatic;
247246
};
@@ -252,6 +251,7 @@
252251
developmentRegion = English;
253252
hasScannedForEncodings = 0;
254253
knownRegions = (
254+
English,
255255
en,
256256
Base,
257257
);
@@ -284,13 +284,13 @@
284284
files = (
285285
);
286286
inputPaths = (
287-
"${SRCROOT}/Pods/Target Support Files/Pods-LayoutFrameworkBenchmark/Pods-LayoutFrameworkBenchmark-frameworks.sh",
287+
"${PODS_ROOT}/Target Support Files/Pods-LayoutFrameworkBenchmark/Pods-LayoutFrameworkBenchmark-frameworks.sh",
288288
"${BUILT_PRODUCTS_DIR}/FlexLayout/FlexLayout.framework",
289289
"${BUILT_PRODUCTS_DIR}/LayoutKit/LayoutKit.framework",
290290
"${BUILT_PRODUCTS_DIR}/NKFrameLayoutKit/NKFrameLayoutKit.framework",
291291
"${BUILT_PRODUCTS_DIR}/NotAutoLayout/NotAutoLayout.framework",
292292
"${BUILT_PRODUCTS_DIR}/PinLayout/PinLayout.framework",
293-
"${PODS_ROOT}/Reveal-SDK/RevealServer-19/iOS/RevealServer.framework",
293+
"${PODS_ROOT}/Reveal-SDK/RevealServer/iOS/RevealServer.framework",
294294
);
295295
name = "[CP] Embed Pods Frameworks";
296296
outputPaths = (
@@ -303,7 +303,7 @@
303303
);
304304
runOnlyForDeploymentPostprocessing = 0;
305305
shellPath = /bin/sh;
306-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-LayoutFrameworkBenchmark/Pods-LayoutFrameworkBenchmark-frameworks.sh\"\n";
306+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-LayoutFrameworkBenchmark/Pods-LayoutFrameworkBenchmark-frameworks.sh\"\n";
307307
showEnvVarsInLog = 0;
308308
};
309309
FB2DF4C2068AD4C560959816 /* [CP] Check Pods Manifest.lock */ = {
@@ -480,14 +480,16 @@
480480
baseConfigurationReference = 73BD901DE3512A23A7603899 /* Pods-LayoutFrameworkBenchmark.debug.xcconfig */;
481481
buildSettings = {
482482
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
483+
CODE_SIGN_IDENTITY = "Apple Development";
483484
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
484-
DEVELOPMENT_TEAM = ZYH5WDPX24;
485+
CODE_SIGN_STYLE = Automatic;
486+
DEVELOPMENT_TEAM = "";
485487
INFOPLIST_FILE = LayoutFrameworkBenchmark/Info.plist;
486488
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
487-
PRODUCT_BUNDLE_IDENTIFIER = com.mirego.test.dev;
489+
PRODUCT_BUNDLE_IDENTIFIER = com.layoutbox.LayoutFrameworkBenchmark;
488490
PRODUCT_NAME = "$(TARGET_NAME)";
489491
PROVISIONING_PROFILE_SPECIFIER = "";
490-
SWIFT_VERSION = 4.2;
492+
SWIFT_VERSION = 5.0;
491493
};
492494
name = Debug;
493495
};
@@ -496,14 +498,16 @@
496498
baseConfigurationReference = 1A3C4D1FF88A9395CE622CF2 /* Pods-LayoutFrameworkBenchmark.release.xcconfig */;
497499
buildSettings = {
498500
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
501+
CODE_SIGN_IDENTITY = "Apple Development";
499502
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
500-
DEVELOPMENT_TEAM = ZYH5WDPX24;
503+
CODE_SIGN_STYLE = Automatic;
504+
DEVELOPMENT_TEAM = "";
501505
INFOPLIST_FILE = LayoutFrameworkBenchmark/Info.plist;
502506
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
503-
PRODUCT_BUNDLE_IDENTIFIER = com.mirego.test.dev;
507+
PRODUCT_BUNDLE_IDENTIFIER = com.layoutbox.LayoutFrameworkBenchmark;
504508
PRODUCT_NAME = "$(TARGET_NAME)";
505509
PROVISIONING_PROFILE_SPECIFIER = "";
506-
SWIFT_VERSION = 4.2;
510+
SWIFT_VERSION = 5.0;
507511
};
508512
name = Release;
509513
};

LayoutFrameworkBenchmark.xcodeproj/xcshareddata/xcschemes/LayoutFrameworkBenchmark.xcscheme

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30-
<Testables>
31-
</Testables>
3230
<MacroExpansion>
3331
<BuildableReference
3432
BuildableIdentifier = "primary"
@@ -38,8 +36,8 @@
3836
ReferencedContainer = "container:LayoutFrameworkBenchmark.xcodeproj">
3937
</BuildableReference>
4038
</MacroExpansion>
41-
<AdditionalOptions>
42-
</AdditionalOptions>
39+
<Testables>
40+
</Testables>
4341
</TestAction>
4442
<LaunchAction
4543
buildConfiguration = "Release"
@@ -61,8 +59,6 @@
6159
ReferencedContainer = "container:LayoutFrameworkBenchmark.xcodeproj">
6260
</BuildableReference>
6361
</BuildableProductRunnable>
64-
<AdditionalOptions>
65-
</AdditionalOptions>
6662
</LaunchAction>
6763
<ProfileAction
6864
buildConfiguration = "Release"

LayoutFrameworkBenchmark/Benchmarks/BenchmarkViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class BenchmarkViewController: UITableViewController {
4949
return CollectionViewControllerFeedItemNotAutoLayoutView(data: data)
5050
}),
5151

52-
ViewControllerData(title: "PinLayout 1.8", factoryBlock: { viewCount in
52+
ViewControllerData(title: "PinLayout 1.9", factoryBlock: { viewCount in
5353
let data = FeedItemData.generate(count: viewCount)
5454
return CollectionViewControllerFeedItemPinLayoutView(data: data)
5555
}),

Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
source 'https://github.com/CocoaPods/Specs.git'
1+
source 'https://cdn.cocoapods.org/'
22

33
use_frameworks!
44

Podfile.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
PODS:
2-
- FlexLayout (1.3.11)
3-
- LayoutKit (10.0.1)
4-
- NKFrameLayoutKit (2.4)
2+
- FlexLayout (1.3.17)
3+
- LayoutKit (10.1.0)
4+
- NKFrameLayoutKit (2.5)
55
- NotAutoLayout (3.2.0)
6-
- PinLayout (1.8.6)
7-
- Reveal-SDK (19)
6+
- PinLayout (1.8.13)
7+
- Reveal-SDK (26)
88

99
DEPENDENCIES:
1010
- FlexLayout
@@ -15,7 +15,7 @@ DEPENDENCIES:
1515
- Reveal-SDK
1616

1717
SPEC REPOS:
18-
https://github.com/cocoapods/specs.git:
18+
trunk:
1919
- FlexLayout
2020
- LayoutKit
2121
- NKFrameLayoutKit
@@ -24,13 +24,13 @@ SPEC REPOS:
2424
- Reveal-SDK
2525

2626
SPEC CHECKSUMS:
27-
FlexLayout: b008184d23aae0c56e1c916e803445a13a6f4e5a
28-
LayoutKit: 4e69fb0f1cc3e9c2a764b58f99e88004f5da861c
29-
NKFrameLayoutKit: c119f04a6ac305c7db5e29e1b856cee0e8a661bb
27+
FlexLayout: 257b6763526bc957d2abc2b77a05760b86ca0e21
28+
LayoutKit: 66478bb3af5ce4519a056d9465bc4c7585d2350b
29+
NKFrameLayoutKit: 8485fd4fb04c2c99e38e4dfd4b65a99ce10689b9
3030
NotAutoLayout: 4723ad82a21a7c6c60c823fff7f7c29467811b92
31-
PinLayout: fe2a2432d6982588e208572005c941aeeae417ab
32-
Reveal-SDK: 9f0d2c6c12eb7507921e5454ac165b7aa21140a4
31+
PinLayout: e41a50260a76508b7a7fcee8955c76639adc69bc
32+
Reveal-SDK: 5f94f14aff3d5f2a49f246edcd266fa4472679e9
3333

34-
PODFILE CHECKSUM: 3e63d42365b39b217c5809f0c7ebad9865d228e2
34+
PODFILE CHECKSUM: d74752ab55b8b4e940de10f66499bdb34a26c294
3535

36-
COCOAPODS: 1.5.3
36+
COCOAPODS: 1.9.3
1.23 KB
Loading

0 commit comments

Comments
 (0)