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
| // | |
| // ContentView.swift | |
| // ReminderslikeUI | |
| // | |
| // Created by Joseph Wardell on 3/12/25. | |
| // | |
| import SwiftUI | |
| import Observation |
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
| // A Simple AppKit NSViewControllerRepresentable to wrap a NSViewCOntroller subclass that presents a NSImageView in a NSScrollVIew. | |
| // This was done more or less for educational purposes for myself, but maybe someone will find it helpful | |
| public struct ImageRepresentable: NSViewControllerRepresentable { | |
| public typealias NSViewControllerType = ImageViewController | |
| let image: NSImage | |
| let minSize: CGSize? | |
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
| // | |
| // MenuCommandTestsApp.swift | |
| // MenuCommandTests | |
| // | |
| // Created by Joseph Wardell on 8/16/23. | |
| // | |
| import SwiftUI | |
| let SecondWindowIdentifier = "SecondWindowIdentifier" |
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 | |
| struct ContainerView<Content: View>: View { | |
| let content: Content | |
| public init(@ViewBuilder builder: () -> Content) { | |
| self.content = builder() | |
| } |