Re: /Library/Application Support off limits?

2021-04-15 Thread Flavio Donadio via Cocoa-dev
Davidap, You must first understand what kind of data you have and how that data would be shared with users. The “Application Support” folders — both in /Library and in ~/Library (“~” means “current user”) — are meant for files that are needed by the application but shouldn’t be stored in the

Re: WKWebView rejecting keyboard input

2021-04-15 Thread Robert Walsh via Cocoa-dev
Thanks Alex, Markus. Markus, yes, it appears the WKWebView subclass is becoming first responder. I added a log statement that is being hit when the window is shown. Alex, yes, I am trying to isolate as much as possible, but this is a client application that cannot run outside its server

Re: WKWebView rejecting keyboard input

2021-04-15 Thread Alex Zavatone via Cocoa-dev
Hi Rob. One thing that I learned back in QA is that when we have a working sample and one non-working one, duplicate both, point your app to use them, & start removing items from the one that doesn’t work until you get back down to either it working or end up with identical items in the working

Re: WKWebView rejecting keyboard input

2021-04-15 Thread Markus Spoettl via Cocoa-dev
On 4/15/21 4:42 PM, Robert Walsh via Cocoa-dev wrote: I have an Objective-C application that creates a WKWebView to collect form input. The form has a label, an input (password) field, and two buttons. When the form is shown inside the web view by the application, the user can click the

WKWebView rejecting keyboard input

2021-04-15 Thread Robert Walsh via Cocoa-dev
I have an Objective-C application that creates a WKWebView to collect form input. The form has a label, an input (password) field, and two buttons. When the form is shown inside the web view by the application, the user can click the buttons but cannot enter text into the input field. The

Re: /Library/Application Support off limits?

2021-04-15 Thread Stephane Sudre via Cocoa-dev
I'm not sure to understand why you think a folder whose path is /Users/Shared could not be used to share things among users. If the issue you see is that once a user creates a file or directory in /Users/Shared, only this user can manipulate them, just change the POSIX permissions to make them

Re: /Library/Application Support off limits?

2021-04-15 Thread Davidap via Cocoa-dev
But in / Users / Shared I need to know which user installed the application. How to share application data with users, I guess there must be an easier way or some way to ask for root privileges to use ~ / Library / Application Support / com.example.MyApp / directory with localDomainMask.

Re: /Library/Application Support off limits?

2021-04-15 Thread Davidap via Cocoa-dev
with localDomainMask is precisely the one that gives me the writing error Davidap El 14/4/21 a las 19:26, Marco S Hyman escribió: Our app isn't sandboxed, but when I try to create a "/Library/Application Support/NewFolder" folder in there I get the following message: /*You don't have

Re: /Library/Application Support off limits?

2021-04-15 Thread Davidap via Cocoa-dev
Becouse is not a good place for sharing things since it is not accessible by anyone but the ~ user. Davidap El 14/4/21 a las 18:41, Ben Kennedy escribió: On 14 Apr 2021, at 1:14 am, Davidap via Cocoa-dev wrote: Apple say: [...] For example, if your app is named MyApp and has the bundle