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
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 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 |
OlderNewer