-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 4b6cf46
Showing
268 changed files
with
13,509 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help surface any issues | ||
title: "" | ||
labels: bug | ||
assignees: "" | ||
--- | ||
|
||
### Description | ||
|
||
<!-- Provide a clear and concise description of what the bug is. --> | ||
|
||
### Steps to reproduce | ||
|
||
<!-- Provide a numbered list with steps to reproduce the behavior. --> | ||
|
||
### Expected behavior | ||
|
||
<!-- Explain what you would have expected the behavior to be. --> | ||
|
||
### Screenshots | ||
|
||
<!-- If applicable, add screenshots to help explain the problem. --> | ||
|
||
### System | ||
|
||
<!-- This information is mandatory. Please describe what system you are using. --> | ||
|
||
- **Device:** [e.g. MacBook Pro] | ||
- **OS:** [e.g. macOS 12.1] | ||
- **Platform:** [e.g. Apple Silicon M1] | ||
|
||
### Other details | ||
|
||
<!-- If applicable, provide any other information that may help. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
### What does this change accomplish? | ||
|
||
<!-- Describe what you're implementing. Are you fixing a bug? Adding a new feature? Describe it with detail! --> | ||
|
||
<!-- If this pull request closes an issue, link it here using the Resolves keyword. --> | ||
|
||
### How have you achieved it? | ||
|
||
<!-- How did you approach the problem and why? --> | ||
|
||
### How can the change be tested? | ||
|
||
<!-- Provide step-by-step instructions so that reviewers can test this change. --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Contributor License Agreement (CLA) | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, synchronize] | ||
issue_comment: | ||
types: [created] | ||
|
||
jobs: | ||
cla: | ||
runs-on: ubuntu-latest | ||
if: | | ||
(github.event.issue.pull_request | ||
&& !github.event.issue.pull_request.merged_at | ||
&& contains(github.event.comment.body, 'signed') | ||
) | ||
|| (github.event.pull_request && !github.event.pull_request.merged) | ||
steps: | ||
- uses: Shopify/shopify-cla-action@v1 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
cla-token: ${{ secrets.CLA_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: SwiftLint | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
lint: | ||
name: SwiftLint | ||
runs-on: ubuntu-latest | ||
container: | ||
image: ghcr.io/realm/swiftlint:0.49.1 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: SwiftLint | ||
run: swiftlint --reporter github-actions-logging --strict |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Xcode | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
pull_request: | ||
branches: [main] | ||
|
||
jobs: | ||
build: | ||
name: Test | ||
runs-on: macos-14 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install xcbeautify | ||
run: brew install xcbeautify | ||
|
||
- name: Select Xcode Version | ||
run: sudo xcode-select -switch /Applications/Xcode_15.4.app | ||
|
||
- name: Run Tests | ||
run: set -o pipefail && xcodebuild test -project Tophat.xcodeproj -scheme TophatTests -destination 'platform=macOS,arch=x86_64' | xcbeautify |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
# Xcode | ||
|
||
## User settings | ||
xcuserdata/ | ||
|
||
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9) | ||
*.xcscmblueprint | ||
*.xccheckout | ||
|
||
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4) | ||
build/ | ||
DerivedData/ | ||
*.moved-aside | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
|
||
## Obj-C/Swift specific | ||
*.hmap | ||
|
||
## App packaging | ||
*.ipa | ||
*.dSYM.zip | ||
*.dSYM | ||
|
||
## Playgrounds | ||
timeline.xctimeline | ||
playground.xcworkspace | ||
|
||
# Swift Package Manager | ||
# | ||
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies. | ||
# Packages/ | ||
# Package.pins | ||
# Package.resolved | ||
# *.xcodeproj | ||
# | ||
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata | ||
# hence it is not needed unless you have added a package configuration file to your project | ||
# .swiftpm | ||
|
||
.build/ | ||
|
||
# CocoaPods | ||
# | ||
# We recommend against adding the Pods directory to your .gitignore. However | ||
# you should judge for yourself, the pros and cons are mentioned at: | ||
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control | ||
# | ||
# Pods/ | ||
# | ||
# Add this line if you want to avoid checking in source code from the Xcode workspace | ||
# *.xcworkspace | ||
|
||
# Carthage | ||
# | ||
# Add this line if you want to avoid checking in source code from Carthage dependencies. | ||
# Carthage/Checkouts | ||
|
||
Carthage/Build/ | ||
|
||
# Accio dependency management | ||
Dependencies/ | ||
.accio/ | ||
|
||
# fastlane | ||
# | ||
# It is recommended to not store the screenshots in the git repo. | ||
# Instead, use fastlane to re-generate the screenshots whenever they are needed. | ||
# For more information about the recommended setup visit: | ||
# https://docs.fastlane.tools/best-practices/source-control/#source-control | ||
|
||
fastlane/report.xml | ||
fastlane/Preview.html | ||
fastlane/screenshots/**/*.png | ||
fastlane/test_output | ||
|
||
# Code Injection | ||
# | ||
# After new code Injection tools there's a generated folder /iOSInjectionProject | ||
# https://github.com/johnno1962/injectionforxcode | ||
|
||
iOSInjectionProject/ | ||
|
||
# Secrets | ||
|
||
config/secrets.json | ||
config/secrets.*.json | ||
!config/secrets.development.json | ||
!config/secrets.test.json | ||
|
||
# macOS | ||
|
||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "Vendor/ios-deploy"] | ||
path = Vendor/ios-deploy | ||
url = https://github.com/lfroms/ios-deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
only_rules: | ||
- array_init | ||
- block_based_kvo | ||
- closing_brace | ||
- closure_parameter_position | ||
- closure_spacing | ||
- colon | ||
- comma | ||
- control_statement | ||
- custom_rules | ||
- discarded_notification_center_observer | ||
- discouraged_direct_init | ||
- dynamic_inline | ||
- empty_enum_arguments | ||
- empty_parameters | ||
- empty_parentheses_with_trailing_closure | ||
- explicit_init | ||
- implicit_getter | ||
- is_disjoint | ||
- joined_default_parameter | ||
- leading_whitespace | ||
- legacy_cggeometry_functions | ||
- legacy_constant | ||
- legacy_constructor | ||
- legacy_nsgeometry_functions | ||
- mark | ||
- multiline_parameters | ||
- nimble_operator | ||
- opening_brace | ||
- operator_usage_whitespace | ||
- overridden_super_call | ||
- private_action | ||
- private_over_fileprivate | ||
- private_unit_test | ||
- prohibited_super_call | ||
- protocol_property_accessors_order | ||
- quick_discouraged_call | ||
- quick_discouraged_focused_test | ||
- quick_discouraged_pending_test | ||
- redundant_discardable_let | ||
- redundant_nil_coalescing | ||
- redundant_string_enum_value | ||
- redundant_void_return | ||
- required_enum_case | ||
- return_arrow_whitespace | ||
- single_test_class | ||
- statement_position | ||
- trailing_newline | ||
- trailing_semicolon | ||
- trailing_whitespace | ||
- unneeded_break_in_switch | ||
- unused_enumerated | ||
- unused_optional_binding | ||
- valid_ibinspectable | ||
- vertical_whitespace | ||
- void_return | ||
- weak_delegate | ||
- yoda_condition |
Oops, something went wrong.