-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add new router * Add routing draft * Add router * Upd CI push develop * Test fix * Fix tvOS errors * Fix tvOS support * Fix tvOS * Add wathOS example * Fix ci * Up * Upd * Remove build macOS * Fix support iPad * Up router * Fix iPhone 15 version * Add iPhone 14 Pro build * Add macOS build * Fix ci * Delete macOS build * Update routing, onboarding and up to Swift6 * Fix #major * Fix ci * Update CI * Fix EventKit and Contacts * Format code * Fix example * Fix macOS * Update CI
- Loading branch information
1 parent
430af61
commit d8e2eab
Showing
85 changed files
with
4,264 additions
and
3,559 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,100 @@ | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches: | ||
- '**' | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build-oversize-kit: | ||
name: Build OversizeKit | ||
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main | ||
with: | ||
package: OversizeKit | ||
secrets: inherit | ||
|
||
build-calendar-kit: | ||
name: Build CalendarKit | ||
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main | ||
with: | ||
package: OversizeCalendarKit | ||
secrets: inherit | ||
|
||
build-contacts-kit: | ||
name: Build OversizeContactsKit | ||
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main | ||
with: | ||
package: OversizeContactsKit | ||
secrets: inherit | ||
|
||
build-location-kit: | ||
name: Build LocationKit | ||
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main | ||
with: | ||
package: OversizeLocationKit | ||
secrets: inherit | ||
|
||
build-notice-kit: | ||
name: Build NoticeKit | ||
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main | ||
with: | ||
package: OversizeNoticeKit | ||
secrets: inherit | ||
|
||
build-notification-kit: | ||
name: Build NotificationKit | ||
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main | ||
with: | ||
package: OversizeNotificationKit | ||
secrets: inherit | ||
|
||
build-onboarding-kit: | ||
name: Build OnboardingKit | ||
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main | ||
with: | ||
package: OversizeOnboardingKit | ||
secrets: inherit | ||
|
||
build-photo-kit: | ||
name: Build PhotoKit | ||
uses: oversizedev/GithubWorkflows/.github/workflows/build-swiftpm-all-platforms.yml@main | ||
with: | ||
package: OversizePhotoKit | ||
secrets: inherit | ||
|
||
build-example: | ||
name: Build Example | ||
needs: | ||
- build-oversize-kit | ||
- build-calendar-kit | ||
- build-contacts-kit | ||
- build-location-kit | ||
- build-notice-kit | ||
- build-notification-kit | ||
- build-onboarding-kit | ||
- build-photo-kit | ||
uses: oversizedev/GithubWorkflows/.github/workflows/build-app.yml@main | ||
with: | ||
path: AppExample/Example | ||
scheme: Example | ||
destination: platform=iOS Simulator,name=iPhone 16,OS=18.1 | ||
secrets: inherit | ||
|
||
# tests: | ||
# name: Test | ||
# needs: build-swiftpm | ||
# uses: oversizedev/GithubWorkflows/.github/workflows/test.yml@main | ||
# secrets: inherit | ||
|
||
bump: | ||
name: Bump version | ||
needs: | ||
- build-example | ||
if: github.ref == 'refs/heads/main' | ||
uses: oversizedev/GithubWorkflows/.github/workflows/bump.yml@main | ||
secrets: inherit |
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
- "*.*.*" | ||
|
||
jobs: | ||
build: | ||
release: | ||
name: Create release | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
11 changes: 11 additions & 0 deletions
11
AppExample/Example (watchOS) Watch App/Assets.xcassets/AccentColor.colorset/Contents.json
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,11 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"idiom" : "universal" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
AppExample/Example (watchOS) Watch App/Assets.xcassets/AppIcon.appiconset/Contents.json
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 @@ | ||
{ | ||
"images" : [ | ||
{ | ||
"idiom" : "universal", | ||
"platform" : "watchos", | ||
"size" : "1024x1024" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
AppExample/Example (watchOS) Watch App/Assets.xcassets/Contents.json
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,6 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
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,30 @@ | ||
// | ||
// Copyright © 2024 Alexander Romanov | ||
// ContentView.swift, created on 19.05.2024 | ||
// | ||
|
||
import OversizeCalendarKit | ||
import OversizeContactsKit | ||
import OversizeKit | ||
import OversizeLocationKit | ||
import OversizeNoticeKit | ||
import OversizeNotificationKit | ||
import OversizeOnboardingKit | ||
import OversizePhotoKit | ||
import SwiftUI | ||
|
||
struct ContentView: View { | ||
var body: some View { | ||
VStack { | ||
Image(systemName: "globe") | ||
.imageScale(.large) | ||
.foregroundStyle(.tint) | ||
Text("Hello, world!") | ||
} | ||
.padding() | ||
} | ||
} | ||
|
||
#Preview { | ||
ContentView() | ||
} |
21 changes: 21 additions & 0 deletions
21
AppExample/Example (watchOS) Watch App/Example__watchOS_App.swift
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 @@ | ||
// | ||
// Copyright © 2024 Alexander Romanov | ||
// Example__watchOS_App.swift, created on 19.05.2024 | ||
// | ||
|
||
import Factory | ||
import OversizeKit | ||
import OversizeServices | ||
import OversizeUI | ||
import SwiftUI | ||
|
||
@main | ||
struct Example__watchOS__Watch_AppApp: App { | ||
@Injected(\.appStateService) var appStateService: AppStateService | ||
|
||
var body: some Scene { | ||
WindowGroup { | ||
ContentView() | ||
} | ||
} | ||
} |
6 changes: 6 additions & 0 deletions
6
AppExample/Example (watchOS) Watch App/Preview Content/Preview Assets.xcassets/Contents.json
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,6 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Oops, something went wrong.