Skip to content

Commit 79846eb

Browse files
committed
Merge branch 'develop'
2 parents 6353ec8 + b263117 commit 79846eb

File tree

23 files changed

+321
-504
lines changed

23 files changed

+321
-504
lines changed

.github/workflows/CI.yml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: "CHTCollectionViewWaterfallLayout CI"
2+
3+
on:
4+
push:
5+
branches:
6+
- develop
7+
pull_request:
8+
branches:
9+
- '*'
10+
11+
jobs:
12+
Demo:
13+
name: Demo Project (Latest Stable Xcode)
14+
runs-on: macOS-11
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v2
18+
19+
- name: Setup Xcode version
20+
uses: maxim-lobanov/[email protected]
21+
with:
22+
xcode-version: latest-stable
23+
24+
- name: Build Swift Project
25+
uses: sersoft-gmbh/[email protected]
26+
with:
27+
project: Demo/Swift/CHTWaterfallSwiftDemo.xcodeproj
28+
scheme: CHTWaterfallSwiftDemo
29+
destination: name=iPhone 13 Pro
30+
action: build
31+
32+
- name: Build Objective-C Project
33+
uses: sersoft-gmbh/[email protected]
34+
with:
35+
project: Demo/Objective-C/Demo.xcodeproj
36+
scheme: Demo
37+
destination: name=iPhone 13 Pro
38+
action: build
39+
40+
Pods:
41+
name: Cocoapods Lint (Latest Stable Xcode)
42+
runs-on: macOS-11
43+
steps:
44+
- name: Checkout
45+
uses: actions/checkout@v2
46+
47+
- name: Setup Xcode version
48+
uses: maxim-lobanov/[email protected]
49+
with:
50+
xcode-version: latest-stable
51+
52+
- name: Run pod lib lint dynamic-framework
53+
run: pod lib lint --fail-fast
54+
55+
- name: Run pod lib lint static-framework
56+
run: pod lib lint --fail-fast --use-libraries --use-modular-headers
57+
58+
SwiftPM:
59+
name: SwiftPM (Latest Stable Xcode)
60+
runs-on: macOS-11
61+
steps:
62+
- name: Checkout
63+
uses: actions/checkout@v2
64+
65+
- name: Setup Xcode version
66+
uses: maxim-lobanov/[email protected]
67+
with:
68+
xcode-version: latest-stable
69+
70+
- name: Build Swift Version
71+
run: xcodebuild -scheme CHTCollectionViewWaterfallLayout -destination generic/platform=iOS
72+
73+
- name: Build ObjC Version
74+
run: xcodebuild -scheme CHTCollectionViewWaterfallLayoutObjC -destination generic/platform=iOS

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@ DerivedData
1919

2020
# Carthage
2121
Carthage/
22+
23+
# Swift Package Manager
24+
.build/
25+
.swiftpm/
26+
Package.resolved

.travis.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "CHTCollectionViewWaterfallLayout"
3-
s.version = "0.9.8"
3+
s.version = "0.9.9"
44
s.summary = "The waterfall (i.e., Pinterest-like) layout for UICollectionView."
55
s.homepage = "https://github.com/chiahsien/CHTCollectionViewWaterfallLayout"
66
s.screenshots = "https://raw.github.com/chiahsien/UICollectionViewWaterfallLayout/master/Screenshots/2-columns.png"
@@ -9,19 +9,19 @@ Pod::Spec.new do |s|
99
s.source = { :git => "https://github.com/chiahsien/CHTCollectionViewWaterfallLayout.git", :tag => "#{s.version}" }
1010
s.requires_arc = true
1111

12-
s.ios.deployment_target = '6.0'
12+
s.ios.deployment_target = '9.0'
1313
s.tvos.deployment_target = '9.0'
1414

15-
s.default_subspec = 'ObjC'
15+
s.default_subspec = 'Swift'
1616

1717
s.subspec 'ObjC' do |ss|
18-
ss.ios.deployment_target = '6.0'
19-
ss.source_files = '*.{h,m}'
18+
ss.ios.deployment_target = '9.0'
19+
ss.source_files = 'Source/*.{h,m}'
2020
end
2121

2222
s.swift_version = '4.2'
2323
s.subspec 'Swift' do |ss|
24-
ss.ios.deployment_target = '8.0'
25-
ss.source_files = 'SwiftSources/**/*'
24+
ss.ios.deployment_target = '9.0'
25+
ss.source_files = 'Source/*.swift'
2626
end
2727
end

0 commit comments

Comments
 (0)