Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Xcode 16.1 error about property not on main actor #119

Merged
merged 5 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: sersoft-gmbh/swifty-linux-action@v3
with:
release-version: 6.0
release-version: 6.0.1
- uses: actions/checkout@v3
- name: Build for release
run: swift build -v -c release
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import SwiftUI

/// The `@ObservedDependency` property wrapper is a feature provided by AppState, intended to simplify dependency handling throughout your application. It makes it easy to access, share, and manage dependencies in a neat and Swift idiomatic way. It works the same as `@AppDependency`, but comes with the power of the `@ObservedObject` property wrapper.
@MainActor
@propertyWrapper public struct ObservedDependency<Value: Sendable>: DynamicProperty where Value: ObservableObject {
/// Path for accessing `ObservedDependency` from Application.
private let keyPath: KeyPath<Application, Application.Dependency<Value>>
Expand Down
Loading