Post

Replies

Boosts

Views

Activity

Comment on Heavy Duty Work With Async Await
Hello, Eskimo. Thank you for your advice. So are you saying that it's okay for the application to have the rainbow wheel stick around while it's doing heavy duty work? I do show a 'Please wait' label over the window sheet. I have an abort button that the user can click on to abort the process. I guess the abort button is needed, then.
Topic: Programming Languages SubTopic: Swift Tags:
Feb ’24
Comment on Our app I was rejected, reason: Your app is primarily a book and is therefore not appropriate for the App Store.
Several years ago, I had a macOS application and an iOS app that goes with the former. The iOS app was accepted into the store. They've rejected our macOS application, saying there already existed a similar product. We simply accepted a defeat and moved on. Who cares about how much money we have lost?
Feb ’24
Comment on 'unarchiveTopLevelObjectWithData' was deprecated Use unarchivedObject(ofClass:from:) instead
Okay. I confirm that your example works such that I can save data to a file and then read data from that file. That should give me some idea. Thank you.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Comment on 'unarchiveTopLevelObjectWithData' was deprecated Use unarchivedObject(ofClass:from:) instead
Hmm... I haven't thought about using Codable. I'll try it tomorrow for the same task.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Sep ’23
Comment on List with ForEach Enumeration
That is it. Thanks a lot.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Sep ’23
Comment on How to Detect the Retina Display for macOS in SwiftUI
Thanks. I don't remember exactly when I posted this topic. My Mac mini with a non-Retina display arrived exactly one month ago on September 28th, 2023. I strongly doubt that I ran the code on my Mac mini. And I'm quite certain that the code has returned 1.0.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23
Comment on How to Detect the Retina Display for macOS in SwiftUI
Okay. I've tested the code with my Retina 5K (5,120 x 2,880) iMac (6-Core Intel Core i5, 3 GHz, Built-In Retina LCD). It has returned 1.0.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23
Comment on How to Detect the Retina Display for macOS in SwiftUI
I get the same result under Xcode 14 and Xcode 15.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23
Comment on How to Detect the Retina Display for macOS in SwiftUI
The pixelLength guy also returns 1.0 on my iMac. Disappointingly, many graphic things are not working under SwiftUI.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’23
Comment on SwiftUI #Preview with Callback Closure
Thanks.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’23
Comment on How Come My WeatherKit Sample App Doesn't Work?
That's negative.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’23
Comment on How Come My WeatherKit Sample App Doesn't Work?
Thanks. I'll take a look later.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’24
Comment on How Come My WeatherKit Sample App Doesn't Work?
That solves the problem. Thanks a lot.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’24
Comment on Heavy Duty Work With Async Await
Thanks. I have done so, actually, with no vail. With or without priority set to .background, .high, or .low, it doesn't help.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’24
Comment on Heavy Duty Work With Async Await
Hello, Eskimo. Thank you for your advice. So are you saying that it's okay for the application to have the rainbow wheel stick around while it's doing heavy duty work? I do show a 'Please wait' label over the window sheet. I have an abort button that the user can click on to abort the process. I guess the abort button is needed, then.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’24
Comment on Heavy Duty Work With Async Await
Thank you, eskimo. I think I understand your point.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’24
Comment on Our app I was rejected, reason: Your app is primarily a book and is therefore not appropriate for the App Store.
Several years ago, I had a macOS application and an iOS app that goes with the former. The iOS app was accepted into the store. They've rejected our macOS application, saying there already existed a similar product. We simply accepted a defeat and moved on. Who cares about how much money we have lost?
Replies
Boosts
Views
Activity
Feb ’24