Post

Replies

Boosts

Views

Activity

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 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 The Mystery of an Array of Strings and Escaped Characters
Oh, I see what you mean. If I try to use an SQL command with a string quoted with apostrophes in order to insert initial values to an SQLite database file, SQLite seems to see escaped apostrophes rather than apostrophes as SQLite gives me an error.
Replies
Boosts
Views
Activity
Aug ’24
Comment on The Mystery of an Array of Strings and Escaped Characters
I need to quote each value with either an apostrophe or a double quotation mark, not an escaped one.
Replies
Boosts
Views
Activity
Aug ’24
Comment on Button.background(Color) under the Light Appearance
Thank you for your tip, DTS Engineer. I guess, you've given me a clue. The background color doesn't change because it has no button style. I've added .buttonStyle(.plain) below the clipShape line. And it now has a background color. Thank you.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on Send a Closure from NSViewRepresentable (or UIViewRepresentable) to ContentView?
I realize that my question is confusing since I've posted irrelevant lines of code for a contextual menu. I'm sorry about that.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on Send a Closure from NSViewRepresentable (or UIViewRepresentable) to ContentView?
I've placed 'tableRowAction()' inside tableViewSelectionDidChange(_:), and it works. Thanks a lot.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on Send a Closure from NSViewRepresentable (or UIViewRepresentable) to ContentView?
I've created a very simpler sample project. The ContentView guy doesn't received a call back. 😢
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on Send a Closure from NSViewRepresentable (or UIViewRepresentable) to ContentView?
Thank you, DTS Engineer. That's exactly what I have been trying to do. That @escaping part is what I was not able to figure out. Anyway, I've implemented it with no errors. Unfortunately, the ContentView guy doesn't receive a tableRowAction callBack. I'll make a sample project with a simpler version and give it a try.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Aug ’24
Comment on Text .onTapGesture Never Called When Shown with .onLongPressGesture
Yes. The simultaneous guy does it. There is a question of where the Text View should be placed, though.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jul ’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
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 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
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 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 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's negative.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’23