Post

Replies

Boosts

Views

Activity

Comment on Does MKLookAroundViewController work on macOS?
Understood. FWIW, the issues are that the LookAroundPreview doesn't allow you to... look around. All it shows is a static, non-interactive image. No controls; no panning, no zooming, no movement. The desire to integrate the LookAroundPreview is to offer users the ability to... look around. This is incorporated into an application that maps lat/lng coordinates to pin markers. We would like users to be able to look around at the pin location.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’25
Comment on How do you allow an XPC service to create a new file based on an NSURL that the user selected from an NSSavePanel?
I wonder if I can just "touch" the file on the application side so that I can then create a bookmark for the XPC service. The use case is creating a new SQLite database in the XPC service... In that context, another problem that needs addressing is how to handle WAL files. If I grant access to my_database.db and then SQLite needs to create a WAL file, it won't be able to. I fear that might be another deal breaker. Thanks Quinn.... (Revisiting some old apps and app ideas...)
Jun ’24
Comment on How do you allow an XPC service to create a new file based on an NSURL that the user selected from an NSSavePanel?
Ugh, I feared that would be the case. 2024 and the limitations of the App Sandbox on macOS, while good intentioned, continue to bite. If I remember, there's a private NSXPCCoder class (or similarly named), that is encoding objects being sent to an XPC service. Some objects, like NSURL are handled in a special, undocumented way. Notably, you could encode a plain NSURL, without bookmark data, and it "just works", or at least I recall it working. xpc_session is so promising! :(
Jun ’24