Post

Replies

Boosts

Views

Activity

Create Configuration Sheet for ScreenSaverView
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
1
0
731
Jan ’22
Aggregate Data from Web Sites
I've created a MacOS app in swift that aggregates data from publicly accessible web sites to display information like stock quotes. It uses calls like: XMLDocument(contentsOf: url, options: []) To get an XML representation of the data, then uses xpath to extract the elements I want. I'm considering submitting this app to the App Store for approval and listing. Is this kind of activity allowed, or would the application be rejected for any reason? I haven't done a deep dive into what the rules are with respect to what the do's and don'ts are for app approval. Any experience would be appreciated! thanks, Scott
1
0
509
Feb ’22