Skip to content

Commit

Permalink
Merge pull request #141 from surfstudio/5.0.0
Browse files Browse the repository at this point in the history
5.0.0
  • Loading branch information
mrandrewsmith authored Jun 13, 2024
2 parents abfb06d + 48f8b69 commit 1aaa23c
Show file tree
Hide file tree
Showing 2,992 changed files with 28,222 additions and 151,921 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,18 @@ on:
jobs:
build:

runs-on: macos-12
runs-on: macos-14

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Init
run: |
make init
- name: Force select xcode 13
- name: Force select xcode 15.3
run: |
sudo xcode-select -switch /Applications/Xcode_13.4.app
sudo xcode-select -switch /Applications/Xcode_15.3.app
- name: Build
run: |
make build
Expand All @@ -33,7 +35,14 @@ jobs:
run: |
make test
- name: Upload coverage to Codecov
uses: codecov/[email protected]
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
flags: tests
directory: ./CoverageReports
file: ./coverage.xml
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
- name: documentation
if: github.ref == 'refs/heads/master'
run: |
Expand All @@ -45,4 +54,4 @@ jobs:
author_email: [email protected]
message: "Updates for documentation"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
## Build generated
build/
DerivedData/
CoverageReports/
Docs/swift_output/
CoverageReports/
Package.resolved

## Various settings
*.pbxuser
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# CHANGELOG
536 changes: 348 additions & 188 deletions Example/Example.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

78 changes: 78 additions & 0 deletions Example/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1530"
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES"
buildArchitectures = "Automatic">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B96CD4481FDC5B1600F5A107"
BuildableName = "Example.app"
BlueprintName = "Example"
ReferencedContainer = "container:Example.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B96CD4481FDC5B1600F5A107"
BuildableName = "Example.app"
BlueprintName = "Example"
ReferencedContainer = "container:Example.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "B96CD4481FDC5B1600F5A107"
BuildableName = "Example.app"
BlueprintName = "Example"
ReferencedContainer = "container:Example.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
10 changes: 0 additions & 10 deletions Example/Example.xcworkspace/contents.xcworkspacedata

This file was deleted.

23 changes: 0 additions & 23 deletions Example/Example/Animals/AnimalCell.swift

This file was deleted.

51 changes: 0 additions & 51 deletions Example/Example/Animals/AnimalCell.xib

This file was deleted.

32 changes: 0 additions & 32 deletions Example/Example/Animals/AnimalCellGenerator.swift

This file was deleted.

34 changes: 0 additions & 34 deletions Example/Example/Animals/AnimalPresenter.swift

This file was deleted.

50 changes: 0 additions & 50 deletions Example/Example/Animals/AnimalViewController.swift

This file was deleted.

17 changes: 11 additions & 6 deletions Example/Example/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,24 @@
// Copyright © 2017 Кравченков Александр. All rights reserved.
//

import MockServer
import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

var window: UIWindow?


func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
MockServer.start()

window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = LoginConfigurator().configure()
window?.makeKeyAndVisible()

return true
}

Expand All @@ -40,7 +48,4 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
func applicationWillTerminate(_ application: UIApplication) {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}


}

Loading

0 comments on commit 1aaa23c

Please sign in to comment.