This file contains hidden or 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
| import SwiftUI | |
| import Foundation | |
| struct PageView<Page, PageContent: View>: View where | |
| Page: Identifiable, | |
| PageContent: Identifiable, | |
| PageContent.ID == Page.ID | |
| { | |
| let uiViewControllerRepresentable: PageViewController<Page, PageContent> | |
| @Binding var currentPage: Page |
This file contains hidden or 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
| import Foundation | |
| enum Mocks {} | |
| extension Mocks { enum Counter {} } | |
| extension Mocks.Counter { | |
| enum State: Sendable { | |
| case start |
This file contains hidden or 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
| import Oak | |
| import Observation | |
| import SwiftUI | |
| enum Counters: Transducer { | |
| enum State: Terminable { | |
| case idle(value: Int) | |
| case finished(value: Int) | |
| var isTerminal: Bool { |
OlderNewer