I've been away from Xcode and MacOS development for some time now and wanted to return with a Screen Saver project. I've got my project working pretty well visually, but wanted to be able to set up some configuration items on the project. So I created a new xib file called ConfigurationSheet.xib,
with an NSWindow but I'm not sure how to set this view as the configureSheet
property on the ScreenSaverView
base class.
I feel like I need to create a Swift class for the view, but the examples I've seen all use UIKit and it seems like that's no longer available. Am I right about that? Should the view class be a SwiftUI view? And then that class gets set as the File Owner for the xib file?
Then further, I think I'll need a controller for the ConfigurationSheet view.
I apologize that I'm so out of step with modern Mac development, but a little current step-by-step here would be really helpful!
thanks,
scott