Post

Replies

Boosts

Views

Activity

Reply to Where are the forums heading to ?
@darkpaw, I do agree. Those type of posts should go into a specific section and not clutter any other, including "allPosts". I will file a bug report about it, I think many of us should do it before the forums are totally spoiled. PS: I also think (or fear) that many developers now rely on ChatGPT or Claude to get help and don't mind to interact with other developers. Our world will insane, but that's a fact.
Mar ’26
Reply to Putting 2 existing pdf pages side by side (half size) in a new pdf
I have found the very simple solution to resize an image (of the pdf page) without loosing resolution: https://stackoverflow.com/questions/32612760/resize-image-without-losing-quality I copy the code for those who are interested and to thank the author @Henry Declety: extension UIImage { func resize(targetSize: CGSize) -> UIImage { return UIGraphicsImageRenderer(size:targetSize).image { _ in self.draw(in: CGRect(origin: .zero, size: targetSize)) } } }
Topic: UI Frameworks SubTopic: UIKit Tags:
Mar ’26
Reply to Apps stuck in "Waiting for Review" for 23 days due to pending agreements. What happens now?
is it better to "Remove from Review" and resubmit them? (I am afraid of losing my place in the queue) I advise you not to do so. I experienced issue doing this one time and being really stuck until some support helped clean everything. And yes, you may loose your place in the queue.   Since the agreements are now active, will my apps automatically fall into the review queue, or do I need to trigger something? If nothings happens in the next 2 days (after the week end), you should contact support. Preferably ask for a phone contact.
Mar ’26
Reply to How to delete a row from a table
Welcome to the forum. array is the data source. So if you remove an item in array, the table should update automatically. Here a very basic example struct Customer: Identifiable { let id = UUID() let name: String let email: String } struct ContentView: View { @State var customers = [Customer(name: "John Smith", email: "john.smith @ example.com"), Customer(name: "Jane Doe", email: "jane.doe @ example.com"), Customer(name: "Bob Johnson", email: "bob.johnson @ example.com")] var body: some View { Table(customers) { TableColumn("name", value: \.name) TableColumn("email", value: \.email) } Button("Remove Jane Doe") { customers.removeAll(where: { $0.name == "Jane Doe"} ) } } } See details here: https://developer.apple.com/documentation/swiftui/table PS: you have a typo with the double backslash: \\.ticker If that answers your question, don't forget to close the thread by marking the answer as correct.
Topic: UI Frameworks SubTopic: SwiftUI
Feb ’26
Reply to Guidance needed for Guideline 4.2 Rejection - Specialized Regional Car Marketplace App
The Issue: The App Review team has stated that the app's usefulness is limited by minimal functionality and lacks sufficient "app-like" features. However, the app is built strictly around the services provided by our company and the specific requirements of our local automotive industry. In Apple's mind, minimum functionality is more related to iOS functionalities: Your app should include features, content, and UI that elevate it beyond a repackaged website. If your app is not particularly useful, unique, or “app-like,” it doesn’t belong on the App Store. If your App doesn’t provide some sort of lasting entertainment value or adequate utility, it may not be accepted. So it is more a question of UI to enhance than users functionalities to extend. Hope that helps. If so, don't forget to close the thread by marking the answer as correct. Good luck.
Feb ’26
Reply to Whimsical tooltips behaviour in popover (Appkit)
There is however a problem with this solution. If there is a TextField in the popover, typing in makes it firstResponder ; and the parent window controller do not receive mouseEnter events that triggers the tooltips. Which means I do not need to simulate mouseDown but just makeFirstResponder. So at the end, the question boils down to: how to manage the conflict between popover and its parent window about FirstResponder. Is it possible to have first and "second" responder, I mean forwarding the mouse messages to the parent ? Considering that The shared NSApplication object performs the important task of receiving events from the window server and distributing them to the proper NSResponder objects. NSApp translates an event into an NSEvent object, then forwards the event object to the affected NSWindow object. All keyboard and mouse events go directly to the NSWindow object associated with the event. … When a window object receives an NSEvent object from NSApp, it distributes it to the objects in its view hierarchy. Could (should I) make both windows (parent and popover) receive the mouseEnter and mouseExit events which are needed for tooltips (up to me in that case to manage side effects).
Topic: UI Frameworks SubTopic: AppKit Tags:
Feb ’26
Reply to Where are the forums heading to ?
@darkpaw, I do agree. Those type of posts should go into a specific section and not clutter any other, including "allPosts". I will file a bug report about it, I think many of us should do it before the forums are totally spoiled. PS: I also think (or fear) that many developers now rely on ChatGPT or Claude to get help and don't mind to interact with other developers. Our world will insane, but that's a fact.
Replies
Boosts
Views
Activity
Mar ’26
Reply to Putting 2 existing pdf pages side by side (half size) in a new pdf
I have found the very simple solution to resize an image (of the pdf page) without loosing resolution: https://stackoverflow.com/questions/32612760/resize-image-without-losing-quality I copy the code for those who are interested and to thank the author @Henry Declety: extension UIImage { func resize(targetSize: CGSize) -> UIImage { return UIGraphicsImageRenderer(size:targetSize).image { _ in self.draw(in: CGRect(origin: .zero, size: targetSize)) } } }
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Mar ’26
Reply to Apps stuck in "Waiting for Review" for 23 days due to pending agreements. What happens now?
is it better to "Remove from Review" and resubmit them? (I am afraid of losing my place in the queue) I advise you not to do so. I experienced issue doing this one time and being really stuck until some support helped clean everything. And yes, you may loose your place in the queue.   Since the agreements are now active, will my apps automatically fall into the review queue, or do I need to trigger something? If nothings happens in the next 2 days (after the week end), you should contact support. Preferably ask for a phone contact.
Replies
Boosts
Views
Activity
Mar ’26
Reply to init?(coder: NSCoder) or init?(coder: (NSCoder?))
Thanks Quinn. My take away is: I have to take care of when super.init is called init?(coder: (NSCoder?)) does not make sense. In fact, I don't even remember where I got this syntax, may be after some deprecation warning (but that was back in 2018). I shall read carefully the chapter on Initialisation in Swift language book.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to How to delete a row from a table
Welcome to the forum. array is the data source. So if you remove an item in array, the table should update automatically. Here a very basic example struct Customer: Identifiable { let id = UUID() let name: String let email: String } struct ContentView: View { @State var customers = [Customer(name: "John Smith", email: "john.smith @ example.com"), Customer(name: "Jane Doe", email: "jane.doe @ example.com"), Customer(name: "Bob Johnson", email: "bob.johnson @ example.com")] var body: some View { Table(customers) { TableColumn("name", value: \.name) TableColumn("email", value: \.email) } Button("Remove Jane Doe") { customers.removeAll(where: { $0.name == "Jane Doe"} ) } } } See details here: https://developer.apple.com/documentation/swiftui/table PS: you have a typo with the double backslash: \\.ticker If that answers your question, don't forget to close the thread by marking the answer as correct.
Topic: UI Frameworks SubTopic: SwiftUI
Replies
Boosts
Views
Activity
Feb ’26
Reply to Guidance needed for Guideline 4.2 Rejection - Specialized Regional Car Marketplace App
The Issue: The App Review team has stated that the app's usefulness is limited by minimal functionality and lacks sufficient "app-like" features. However, the app is built strictly around the services provided by our company and the specific requirements of our local automotive industry. In Apple's mind, minimum functionality is more related to iOS functionalities: Your app should include features, content, and UI that elevate it beyond a repackaged website. If your app is not particularly useful, unique, or “app-like,” it doesn’t belong on the App Store. If your App doesn’t provide some sort of lasting entertainment value or adequate utility, it may not be accepted. So it is more a question of UI to enhance than users functionalities to extend. Hope that helps. If so, don't forget to close the thread by marking the answer as correct. Good luck.
Replies
Boosts
Views
Activity
Feb ’26
Reply to Whimsical tooltips behaviour in popover (Appkit)
There is however a problem with this solution. If there is a TextField in the popover, typing in makes it firstResponder ; and the parent window controller do not receive mouseEnter events that triggers the tooltips. Which means I do not need to simulate mouseDown but just makeFirstResponder. So at the end, the question boils down to: how to manage the conflict between popover and its parent window about FirstResponder. Is it possible to have first and "second" responder, I mean forwarding the mouse messages to the parent ? Considering that The shared NSApplication object performs the important task of receiving events from the window server and distributing them to the proper NSResponder objects. NSApp translates an event into an NSEvent object, then forwards the event object to the affected NSWindow object. All keyboard and mouse events go directly to the NSWindow object associated with the event. … When a window object receives an NSEvent object from NSApp, it distributes it to the objects in its view hierarchy. Could (should I) make both windows (parent and popover) receive the mouseEnter and mouseExit events which are needed for tooltips (up to me in that case to manage side effects).
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Feb ’26