Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
772 commits
Select commit Hold shift + click to select a range
d680937
Release 1.7.1
scenee Nov 20, 2019
d51a279
Merge pull request #291 from SCENEE/release-1.7.1
scenee Nov 27, 2019
13d077e
Add FloatingPanelController.nearbyPosition (#303)
ramrcram Jan 9, 2020
282a898
Fix Maps.app's crash on device after the second launch (#306)
scenee Jan 18, 2020
dea679a
Fix a panel's move-up in dragging it down
scenee Dec 14, 2019
f4f987d
Fix grabber area behavior
scenee Jan 18, 2020
914cb68
Merge pull request #307 from SCENEE/iss-293
scenee Jan 21, 2020
4326c60
Call floatingPanelDidEndDecelerating even if an animation interrupted
scenee Jan 27, 2020
5d6149e
Make floatingPanelDidEndDragging's velocity zero when it won't animate
scenee Jan 28, 2020
79c11e5
Merge pull request #310 from SCENEE/fix-didenddecelerating-call
scenee Jan 28, 2020
e104837
Return the child view controller to consult
scenee Jan 28, 2020
348fa0c
Merge pull request #311 from SCENEE/return-childvc-to-consult
scenee Jan 29, 2020
71a873e
Release 1.7.2
scenee Jan 29, 2020
29858da
Merge pull request #312 from SCENEE/release-1.7.2
scenee Jan 30, 2020
91ea09c
Minor README.md typo
jacksonjude Feb 9, 2020
71631db
Merge pull request #316 from jacksonjude/master
scenee Feb 15, 2020
ec3cdd6
Add floatingPanel(_:contentOffsetForPinning:) delegate method (#314)
scenee Feb 24, 2020
1ffb813
Add failure requirements for multiple panels (#322)
scenee Feb 26, 2020
08f389d
Fix breaking content offset of the tracked scroll view (#315)
scenee Feb 26, 2020
7384b50
fix a run script error
scenee Feb 26, 2020
f467513
update github issue template
scenee Feb 28, 2020
6dedcb0
Release 1.7.3
scenee Feb 28, 2020
5e9ae4f
Merge pull request #323 from SCENEE/release-1.7.3
scenee Feb 29, 2020
a9cf7e2
fix api typo (#325)
zntfdr Feb 29, 2020
24c126d
ignore .swiftpm/ folder (#324)
zntfdr Feb 29, 2020
5b6795b
Release 1.7.4
scenee Feb 29, 2020
4cf102a
Merge pull request #326 from SCENEE/release-1.7.4
scenee Feb 29, 2020
699a220
fix a build error on Xcode 11.4 (#337)
scenee Mar 30, 2020
0dbbf35
Support the initial hidden position not including the supported posit…
scenee Apr 29, 2020
a57ac74
Fix an invalid indicator insets of the tracking scroll view (#346)
scenee Apr 29, 2020
1fad0a2
fix the memory leak of FloatingPanelController object (#350)
scenee May 14, 2020
7538a13
fix invalid safearea insets in a table view with static cells (#353)
scenee May 16, 2020
a0abf00
fix the animation velocity's sign (#354)
scenee May 16, 2020
c278d93
fix {top,bottom} constant's boundary in updating panel interactively …
scenee May 20, 2020
bd84d54
Add "Show Panel in Sheet Modal" sample
scenee May 22, 2020
1b0329c
fix the behavior in a sheet modal
scenee May 22, 2020
bc91c45
Fix some view controllers in Samples.app for a sheet modal
scenee May 22, 2020
eeb03e6
Fix the constraints break on fitToBounds mode (#359)
May 30, 2020
9aae652
No need to recognize both of the pan gesture and dismiss gesuter of s…
scenee May 30, 2020
4cb4b7a
Fix the panel behavior in a sheet modal (#358)
scenee Jun 3, 2020
4985cd3
Release 1.7.5
scenee May 16, 2020
e3594fb
Merge pull request #356 from SCENEE/release-1.7.5
scenee Jun 3, 2020
587f5d2
Modify README
Jul 9, 2020
d4ab86c
Merge pull request #371 from knchst/modify/readme
scenee Jul 11, 2020
35df26f
don't remove panel on view disappearance (#367)
lekom Jul 11, 2020
b7ec672
Upgrade swift version to 5.0
scenee May 9, 2020
a003146
Remove 'unavailable' annotations
scenee Jun 6, 2020
2d0c510
Replace 'precondition' to 'assert'
scenee Jun 6, 2020
409f61a
Disable dismissal action of the backdrop by default
scenee Apr 23, 2020
27fe7e1
Rename trackedScrollView to trackingSrollView
scenee Jun 6, 2020
2f5baf0
Drop preserveContentVCLayoutIfNeeded()
scenee Apr 23, 2020
86fe96b
v2.0
scenee Jun 6, 2020
2631538
Fix updating the container height when the content mode is changed
scenee May 15, 2020
b1ff0b7
Add UISpringTimingParameters(decelerationRate:frequencyResponse:initi…
scenee May 16, 2020
c5f3770
Fix the height break after rotating a device twice in static mode
scenee Jun 2, 2020
deb1bcf
Support multiple shadows in the surface appearance
scenee May 7, 2020
fa85a06
Rename heightConstraint to staticConstraint
scenee Jun 6, 2020
cd5a4ea
Suppress the shadow fade-out animation when the surface jumps to a lo…
scenee Jun 3, 2020
24403ac
Rename fpc.scrollView to fpc.trackingScrollView
scenee Jun 6, 2020
3e5f2a6
Refactor updateStaticConstraint()
scenee Jun 6, 2020
70b80a1
Clean up code
scenee Jun 11, 2020
8fb43f4
Intercept delegate methods of the pan gesture recognizer
scenee Jun 12, 2020
eddc634
Fix failure requirements of the pan gesture in the grabber area
scenee Jun 13, 2020
1ebcf93
Modify FloatingPanelPanGestureRecognizer name
scenee Jun 13, 2020
3e9dcf0
Use multi string literal for long log prints
scenee Jun 19, 2020
c71053a
Fix hidden state handling with 1 state anchor
scenee Jun 19, 2020
a2fe202
Add FloatingPanelController.untrack(scrollView:) for multiple scroll …
scenee Jun 20, 2020
7d2f7b2
Reset maskedCorners
scenee Jun 24, 2020
fda7e57
Fix unsatisfiable constraints on fitToBounds mode
scenee Jun 24, 2020
971c8d8
Prevent potential errors of unsatisfiable constraints
scenee Jun 24, 2020
934029a
Improve delegate methods for the removal interaction
scenee Jun 26, 2020
3016eba
Calculate the actual frame duration in numeric springing
scenee Jun 26, 2020
dc2e0ef
Fix the rounding corners of the grabber handle
scenee Jun 26, 2020
cb97c36
Rename 'anchorPosition' to 'position'
scenee Jun 27, 2020
ab22658
Rename 'stateAnchors' to 'anchors'
scenee Jun 27, 2020
fb4999c
Fix the timing to call floatingPanelDidMove delegate
scenee Jun 28, 2020
96d7893
Rename edgeY to edgePosition
scenee Jun 29, 2020
f9f60df
Fix containerOverflow
scenee Jun 29, 2020
4a39eb6
Fix LayoutAdapter.position(for:)
scenee Jun 29, 2020
978c0dd
Fix a surface container constraint on left position
scenee Jun 29, 2020
e48952a
Use LayoutAdapter.positon in itself
scenee Jun 29, 2020
3aca1a4
Fix LayoutAdapter.setUpAnimationEdgeConstraint(to:)
scenee Jun 29, 2020
3c2ff2d
Add SamplesObjC app
scenee Dec 7, 2018
f46ce4f
Update Samples.app
scenee Jun 20, 2020
270c7b3
Update Stocks.app
scenee May 16, 2020
28595d2
Update Maps.app
scenee Jun 20, 2020
6628dd3
Add .swiftformat
scenee Jun 13, 2020
6078afd
Update the license headers
scenee Jun 13, 2020
7cd2e0b
Add IDETemplateMacros.plist
scenee Jun 13, 2020
530fb19
Update docs
scenee Jun 27, 2020
56f772d
Add constraint identifiers
scenee Jun 29, 2020
ff97682
Rename constraint props
scenee Jun 29, 2020
e70c395
Replace 'decelerate' term with 'attract'
scenee Jul 2, 2020
cb8643d
Update doc comments
scenee Jul 2, 2020
fbc685f
Use incremental complication mode for code coverage
scenee Jul 3, 2020
5274ed3
Reorganize the project structure
scenee Jul 4, 2020
b3d9cdf
Simplify file and object names
scenee Jul 4, 2020
4504cb7
Rename Tests
scenee Jul 4, 2020
27a9d5d
Change the file order
scenee Jul 7, 2020
56b2a7f
Modify NumericSpringAnimator
scenee Jul 4, 2020
7879e02
Add a mark comment
scenee Jul 4, 2020
aa05e39
Modify Logger display name
scenee Jul 4, 2020
af767e5
Add State.swift
scenee Jul 6, 2020
ccb827d
Remove an unused import
scenee Jul 7, 2020
346c6f4
Add Layout{Anchoring,References} and Position
scenee Jul 4, 2020
7397297
Remove a line with only whitespace
scenee Jul 11, 2020
b7d9797
Update README
scenee Jul 3, 2020
6a1e3eb
Fix SwiftPM errors
scenee Jul 11, 2020
18c1b7f
Fix podspec
scenee Jul 11, 2020
b39ee9d
Fix platform names in available conditions
scenee Jul 11, 2020
b068abf
Clean up SampleObjC code
scenee Jul 11, 2020
64b0789
Remove an unnecessary file
scenee Jul 11, 2020
f5ef70b
2.0.0 Beta 1
scenee Jul 11, 2020
38b97ab
Small typo fixes (#378)
jstart Aug 10, 2020
df98dee
Fix method names in core
scenee Aug 10, 2020
9a4df86
Fix typo
scenee Aug 10, 2020
cc4d9b5
Update doc comment
scenee Aug 10, 2020
1651697
use 'prominent' blur effect (#379)
ghazel Aug 10, 2020
60d2977
Update the file license headers
scenee Aug 10, 2020
b740427
Clean up core code
scenee Aug 12, 2020
b375e91
Add doc comments
scenee Aug 12, 2020
09dc3d8
Update .gitignore
scenee Aug 22, 2020
56764c0
Fix layouts using backdropAlpaFor(position:) in Samples app
scenee Aug 29, 2020
b6f7b2f
Add the migration guide for FloatingPanel 2.0
scenee Aug 21, 2020
6b38e38
Update README
scenee Aug 29, 2020
b477647
Fix the panel behavior of 'Show Detail Panel' on 'fitToBounds' mode i…
scenee Aug 29, 2020
e095f94
Revise the migration guide according to @zntfdr reviews
scenee Aug 31, 2020
6f57fdd
Fix an issue where keyboard opens above image picker (#381)
scenee Sep 3, 2020
06d2787
Fix quick pull down (#385)
michalraska Sep 3, 2020
a5ea5c7
Enable the removal interaction at any positions upon the conditions (…
scenee Sep 3, 2020
ef3ca33
Fix typo
scenee Sep 3, 2020
8c2054b
Use BackdropView.dismissalTapGestureRecognizer to dismiss panels in S…
scenee Sep 5, 2020
3441e4e
Address test failures on iOS 10 and 11
scenee Sep 5, 2020
b99e15c
Update travis ci config
scenee Sep 5, 2020
f68b4e1
Version 1.7.6
scenee Sep 19, 2020
1c1403d
Merge branch 'release-1.7.6' into v2-dev
scenee Sep 19, 2020
072b0dd
Merge pull request #386 from SCENEE/release-1.7.6
scenee Sep 19, 2020
2a56dbb
ci: support xcode 12 and fix errors
scenee Sep 19, 2020
7301648
Ease time out conditions in ControllerTests.test_moveTo()
scenee Sep 19, 2020
4838c89
ci: reduce the build time
scenee Sep 19, 2020
663c6d5
Ease time out conditions for ControllerTests.test_moveTo_bottomEdge()
scenee Sep 19, 2020
717a118
Fix Samples app
scenee Sep 21, 2020
e6af372
Fix intrinsic layout
scenee Sep 21, 2020
d6afe94
Recalculate state constraints in layout activation for intrinsic layout
scenee Sep 21, 2020
906f965
Fix a content view layout using intrinsic anchor
scenee Sep 21, 2020
97056ab
Prevent a crash in a device rotation
scenee Sep 22, 2020
c6a12a2
Double lay out the surface view for uistackview's intrinsic behavior
scenee Sep 30, 2020
0122c99
Change SurfaceView.contentView to an optional type
scenee Sep 30, 2020
3451606
Suppress 'brew update' error on travis ci
scenee Sep 30, 2020
e67896b
Version 2.0.0
scenee Sep 30, 2020
3601295
Merge pull request #372 from SCENEE/v2-dev
scenee Oct 3, 2020
04659c1
add missing commas (#387)
zntfdr Oct 7, 2020
d5692fe
Reset the moveAnimator prop after a move animation (#396)
scenee Oct 19, 2020
22e671b
Ease the default velocity for a panel removal (#395)
scenee Oct 19, 2020
fbd53d4
Version 2.0.1
scenee Oct 19, 2020
52f3ed9
Merge pull request #397 from SCENEE/release-2.0.1
scenee Oct 21, 2020
2ed60d5
update readme url for Transitioning.swift (#398)
takaoh717 Oct 23, 2020
4b78fd9
Add escape gesture to close modal for VoiceOver users (#383)
warpling Nov 7, 2020
cc5b4db
Create FUNDING.yml for GitHub Sponsors
scenee Nov 28, 2020
ddbf6f7
Open the default behavior class (#406)
scenee Nov 30, 2020
d0c6481
Add FloatingPanelAdaptiveLayoutAnchor (#390)
scenee Dec 1, 2020
b2aa5da
Work magic numbers out of Adaptive Panel (Custom Layout Guide) exampl…
warpling Dec 5, 2020
23001e9
Fix Maps samlpe (#411)
scenee Dec 5, 2020
fa5f119
Version 2.1.0
scenee Dec 7, 2020
d42a1c0
Merge pull request #414 from SCENEE/release-2.1.0
scenee Dec 12, 2020
d80b84a
fix example typo (#418)
zntfdr Dec 22, 2020
dc22f93
Add a description for the backdropAlpha(for:) API (#416)
scenee Dec 24, 2020
a98b865
Add optional `removalInteractionVelocityThreshold` value to `Behavior…
Argent Jan 4, 2021
424caea
Add cornerCurve option to SurfaceAppearance (#417)
zntfdr Jan 5, 2021
e06953b
Fix swiftformat (#426)
funzin Jan 8, 2021
f80f737
Address the grabber area detection in scroll tracking (#407)
scenee Jan 9, 2021
076eb1b
Fix a crash by the move animator (#423)
scenee Jan 9, 2021
49535bc
Fix an issue where not dragging a panel by priority of Layout.interac…
scenee Jan 11, 2021
c185de2
Stop moving a panel while the tracking table view is editing (#431)
scenee Jan 11, 2021
0c0a936
Revise the swizzling prop to make it nonnull
scenee Jan 7, 2021
8fe09f9
Fixed the crash when ownerVC is nil. (#436)
nickcheng Jan 20, 2021
9e9f8fc
Move the main ci to github actions (#437)
scenee Jan 21, 2021
9e4fa28
Show debug logs in console.app
scenee Jan 19, 2021
ef0ac95
Add a note for `log` variable
scenee Jan 19, 2021
b2a84c0
Version 2.2.0
scenee Jan 19, 2021
e7a6793
Merge pull request #435 from SCENEE/release-2.2.0
scenee Jan 24, 2021
eb69330
Fix workaround for bouncing a scroll content
scenee Feb 6, 2021
9e36b5b
Prevent the potential memory leaks in the modal transition (#429)
scenee Feb 6, 2021
e1a569c
Remove class keyword
scenee Feb 8, 2021
45474af
Enable to add custom panel states (#438)
scenee Feb 15, 2021
06e4dea
Prevent a memory leak in a nested function (#441)
scenee Feb 23, 2021
73e601d
Update readme
scenee Feb 23, 2021
d31b2c6
Version 2.3.0
scenee Feb 23, 2021
7017706
Merge pull request #442 from scenee/release-2.3.0
scenee Feb 27, 2021
d18ae0f
Fix backdrop flickering (#449)
scenee Apr 13, 2021
ffcf4c4
Improve the function rounding a dimension by a display scale
scenee Mar 3, 2021
6ce3845
Remove 'UI' prefix from UIExtensions
scenee Apr 20, 2021
804b247
Tidy up Extensions.swift
scenee Apr 23, 2021
35180b8
Refactor the samples app (#459)
scenee May 8, 2021
ba16d93
Version 2.3.1
scenee May 8, 2021
63b0af5
Merge pull request #461 from scenee/release/2.3.1
scenee May 10, 2021
6e5f068
Rename floatingPanelDidChangePosition to floatingPanelDidChangeState
scenee May 8, 2021
b7b923e
Add completion handler in addPanel(toParent:) (#402)
scenee May 10, 2021
faef281
Refactor LayoutAdapter
scenee May 8, 2021
0e79127
Update README for the backdrop tap-to-dismiss action
scenee May 28, 2021
9fd358d
Fix a regression for the backdrop behavior (#466,#471)
scenee Jun 5, 2021
012be00
Version 2.4.0
scenee Jun 5, 2021
67f33f7
Merge pull request #472 from scenee/release/2.4.0
scenee Jun 5, 2021
f42c911
Make the pan gesture keep disabled (#486)
scenee Aug 10, 2021
5285476
Fix a compile error on SampleObjC
scenee Aug 17, 2021
7775bee
fix objc can not obtain dismissalTapGestureRecognizer (#496)
codingiran Aug 26, 2021
4607316
Update ci workflow
scenee Sep 18, 2021
3940ba4
Remove .travis.yml
scenee Sep 18, 2021
d879c51
Version 2.4.1
scenee Sep 18, 2021
45011b6
Merge pull request #502 from scenee/release/2.4.1
scenee Sep 18, 2021
10b2297
Add SwiftUI proof of concept in Maps-SwiftUI example (#481)
zntfdr Sep 25, 2021
fdce20c
Fix a crash in Samples app on iPad (#497)
milettal Sep 25, 2021
752555d
Fix a tab bar's appearance in Samples app on iOS 15
scenee Sep 27, 2021
a7e2b3b
Version 2.5.0
scenee Sep 25, 2021
514dc19
Merge pull request #505 from scenee/release/2.5.0
scenee Sep 28, 2021
f518c89
Support DocC symbols
scenee Oct 9, 2021
08c2610
Add the documentation catalog
scenee Oct 11, 2021
6c5eb69
Update README
scenee Oct 30, 2021
33b126a
Apply a part of build settings recommended by Xcode 13
scenee Oct 2, 2021
1d1e718
Stop changing the content mode whose panel is attracting (#513)
scenee Nov 15, 2021
da4cbd0
Clean up the example projects and codes (#512)
scenee Nov 24, 2021
6a2f361
Fix invalidateLayout() implementation as following the doc comment (#…
scenee Nov 25, 2021
c935d2d
Change constraint priorities of the content view on the default conte…
scenee Nov 29, 2021
410cfd3
Version 2.5.1
scenee Nov 29, 2021
06c2828
Merge pull request #521 from scenee/release/2.5.1
scenee Dec 3, 2021
9e0cdf1
Unlock a scroll view when untracked
scenee Apr 26, 2021
c11b332
Fix dragging on content placed above the trackedView resets scroll po…
dudek-j Feb 4, 2022
f54b7a5
Version 2.5.2
scenee Feb 4, 2022
3c5a641
Merge pull request #528 from scenee/release/2.5.2
scenee Feb 10, 2022
61c42e4
Fix the grabber area detecion
scenee Dec 21, 2021
3509c3c
Stop scrolling if the initial location of a pan gesture is in the gra…
scenee Feb 21, 2022
ae48768
fix: add missing import UIKit (#534)
little-huang Apr 20, 2022
62bf2ae
Fix a warning in SamplesObjC
scenee Apr 20, 2022
0e88ac9
Update GitHub Actions workflow using macOS-12 (#538)
scenee May 31, 2022
571c756
Fix `cornerCurve` property availability compilation fail (#548)
asiliuk Jun 13, 2022
63a0858
Fix floating panel content view constraints (#549)
seanlh Jun 13, 2022
5b7e4e0
Ensure the initial state is hidden in presenting it as a modality (#551)
scenee Jun 13, 2022
1ee1b4a
Version 2.5.3
scenee Jun 13, 2022
98504c1
Merge pull request #550 from scenee/release/2.5.3
scenee Jun 14, 2022
0b25c68
Fix the view index of FloatingPanelView for SwiftUI
scenee Jul 30, 2022
82cdb06
Merge pull request #556 from scenee/iss-536
scenee Jul 30, 2022
63b87a7
Remove unused '.swiftformat' file
scenee Jul 30, 2022
7ec9cdc
Replace PR #551 change using fatalError() (#563)
scenee Sep 7, 2022
45b90a5
Remove the CI job with Xcode 13.1 and iOS 15.0
scenee Sep 8, 2022
f61fd0c
Version 2.5.4
scenee Sep 8, 2022
99f1081
Merge pull request #565 from scenee/release/2.5.4
scenee Sep 10, 2022
725153e
Fix the initial position value of the surface view
scenee Oct 5, 2022
8f74a22
Better to declare FloatingPanelLayout.anchors as constants if possible
scenee Oct 5, 2022
4c77c6c
Add the ability to prevent the sheet from going beyond the upper bounds
engali94 Oct 6, 2022
29bf974
Bump to version 2.5.5
engali94 Oct 6, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: SCENEE
40 changes: 40 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
> Please fill out this template appropriately when filing a bug report.
>
> Please remove this line and everything above it before submitting.

### Description

### Expected behavior

### Actual behavior

### Steps to reproduce

**Code example that reproduces the issue**


**How do you display panel(s)?**

* Add as child view controllers
* Present modally

**How many panels do you displays?**

* 1
* 2+

### Environment

**Library version**

**Installation method**

* CocoaPods
* Carthage
* Swift Package Manager

**iOS version(s)**


**Xcode version**

121 changes: 121 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
name: ci

on:
push:
branches:
- master
pull_request:
branches:
- '*'

jobs:
build:
runs-on: ${{ matrix.runsOn }}
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
strategy:
fail-fast: false
matrix:
include:
- swift: "5.6"
xcode: "13.3.1"
runsOn: macos-12
- swift: "5.5"
xcode: "13.2.1"
runsOn: macos-11
- swift: "5.4"
xcode: "12.5.1"
runsOn: macos-11
- swift: "5.3"
xcode: "12.4"
runsOn: macos-10.15
- swift: "5.2"
xcode: "11.7"
runsOn: macos-10.15
- swift: "5.1"
xcode: "11.3.1"
runsOn: macos-10.15
steps:
- uses: actions/checkout@v2
- name: Building in Swift ${{ matrix.swift }}
run: xcodebuild -scheme FloatingPanel SWIFT_VERSION=${{ matrix.swift }} clean build

test:
runs-on: ${{ matrix.runsOn }}
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
strategy:
fail-fast: false
matrix:
include:
- os: "15.4"
xcode: "13.3.1"
sim: "iPhone 13 Pro"
runsOn: macos-12
- os: "15.2"
xcode: "13.2.1"
sim: "iPhone 13 Pro"
runsOn: macos-11
- os: "14.5"
xcode: "12.5.1"
sim: "iPhone 12 Pro"
runsOn: macos-11
- os: "14.4"
xcode: "12.4"
sim: "iPhone 12 Pro"
runsOn: macos-10.15
- os: "13.7"
xcode: "11.7"
sim: "iPhone 11 Pro"
runsOn: macos-10.15
steps:
- uses: actions/checkout@v2
- name: Testing in iOS ${{ matrix.os }}
run: xcodebuild clean test -scheme FloatingPanel -workspace FloatingPanel.xcworkspace -destination 'platform=iOS Simulator,OS=${{ matrix.os }},name=${{ matrix.sim }}'

example:
runs-on: macos-12
env:
DEVELOPER_DIR: /Applications/Xcode_13.3.1.app/Contents/Developer
strategy:
fail-fast: false
matrix:
include:
- example: "Maps"
- example: "Stocks"
- example: "Samples"
steps:
- uses: actions/checkout@v2
- name: Building ${{ matrix.example }}
run: xcodebuild -workspace FloatingPanel.xcworkspace -scheme ${{ matrix.example }} -sdk iphonesimulator clean build

swiftpm:
runs-on: macos-12
env:
DEVELOPER_DIR: /Applications/Xcode_13.3.1.app/Contents/Developer
strategy:
fail-fast: false
matrix:
include:
- target: "arm64-apple-ios15.4-simulator"
- target: "x86_64-apple-ios15.4-simulator"
steps:
- uses: actions/checkout@v2
- name: "Swift Package Manager build"
run: swift build -Xswiftc "-sdk" -Xswiftc "`xcrun --sdk iphonesimulator --show-sdk-path`" -Xswiftc "-target" -Xswiftc "${{ matrix.target }}"

carthage:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: "Carthage build"
run: carthage build --use-xcframeworks --no-skip-current

cocoapods:
runs-on: macos-12
steps:
- uses: actions/checkout@v2
- name: "CocoaPods: pod lib lint"
run: pod lib lint --allow-warnings
- name: "CocoaPods: pod spec lint"
run: pod spec lint --allow-warnings
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,18 +17,23 @@ DerivedData/
*.perspectivev3
!default.perspectivev3
xcuserdata/
IDEWorkspaceChecks.plis

## Other
*.moved-aside
*.xccheckout
*.xcscmblueprint
*.xcsettings

## Obj-C/Swift specific
*.hmap
*.ipa
*.dSYM.zip
*.dSYM

## Swift Package Manager Specific
.swiftpm/

## Playgrounds
timeline.xctimeline
playground.xcworkspace
Expand Down
Loading