Skip to content
Open
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: 0 additions & 2 deletions Examples/CaseStudies/Internal/CaseStudy.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import SwiftUI
import UIKitNavigation

@MainActor

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All demos are default main actor isolation so a lot of these can go away.

protocol CaseStudy {
var readMe: String { get }
var caseStudyTitle: String { get }
Expand All @@ -17,7 +16,6 @@ extension CaseStudy {
}

@resultBuilder
@MainActor
enum CaseStudyViewBuilder {
@ViewBuilder
static func buildBlock() -> some View {}
Expand Down
1 change: 0 additions & 1 deletion Examples/CaseStudies/ObservableModelDemo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ struct ObservableModelDemo: SwiftUICaseStudy {
}

@Observable
@MainActor
private class Model {
@ObservationIgnored
@FetchAll(Fact.order { $0.id.desc() }, animation: .default)
Expand Down
Loading
Loading