Probably two things relevant here.
One is General in system preferences which look like this:

A Magic Mouse may count as a “track pad” so if you have this setting
to automatic, the scrollers will only be shown when s
On 15 Mar 2021, at 16:24, Keary Suska wrote:
That forum thread does not, as far as I can tell, say that you need a
provisioning profile for non-sandboxed apps.
In that thread, Quinn seems to acnknowledge that you need “special
permission [from Apple] for local development”
But he also says
On 14 Mar 2021, at 19:44, Michael Tsai wrote:
I think you need to apply to Apple and get a provisioning profile,
even if the app isn't sandboxed:
https://developer.apple.com/forums/thread/653890
Thanks, what a disappointing policy decision by Apple. Especially when
they are trying to get ri
I’ve tried something like the code below to save a file not owned by
current user.
I have codesigned the application using hardened runtime and the
`com.apple.developer.security.privileged-file-operations` entitlement
(although this is outside App Store and no sandboxing).
It doesn’t work an
On 9 Mar 2021, at 12:10, Jean-Daniel wrote:
If I had to write a new software that need read/write functions today,
I would go for a modern async API, like dispatch_io.
This came up while trying to generalize a few things I have that
basically transform data, but where size is unknown, and the
We currently have two different systems that can’t easily be bridged,
effectively doing the same thing, but supporting different sources:
NSStream can work with files, data, and network streams (created by
NSURLSession and other high-level API).
NSFileHandle can work with files, pipes, stdin/
On 22 May 2020, at 21:59, Aandi Inston wrote:
1. I wonder if your tests are in a non-English language system.
No, running on a non-localized system, and the evidence is overwhelming
that this is about SIP / AMFI (based on inspecting the stack trace,
which clearly show communication between t
On 23 Apr 2020, at 21:15, Rob Petrovec wrote:
If what you say is correct then everyone would be seeing a delay since
most people don’t have blazing fast internet connections. I do not
think this is the normal behavior. I think it is specific to your
system, otherwise there would be TONS of p
On 27 Apr 2020, at 15:35, Georg Seifert via Cocoa-dev wrote:
Is there a method/callback that is called when all loading is done
(including the loading of documents).
Have a look at applicationOpenUntitledFile:
https://developer.apple.com/documentation/appkit/nsapplicationdelegate/1428491-appl
On 24 Apr 2020, at 21:33, Gary L. Wade wrote:
Here’s two web sites that should help you get the answer you want.
Try one or both:
https://feedbackassistant.apple.com/welcome
https://www.apple.com/jobs/us/
You don’t get answers from filing bug reports with Apple, at best, the
issue gets clos
On 24 Apr 2020, at 11:49, Saagar Jha wrote:
GateKeeper is basically Safari adding a quarantine flag […]
Nit: not just Safari; other applications do this to at their
discretion when appropriate (for example, if they too download files
from the internet). Quarantine is just one part of GateKeepe
On 24 Apr 2020, at 9:57, Rob Petrovec wrote:
Also weird, why would it phone home for a shell script which has
neither been stapled nor even code-signed?
I think you answered the question just then… a "shell script which
has neither been stapled nor even code-signed”. Google XProtect &
Gateke
On 24 Apr 2020, at 9:51, Gary L. Wade wrote:
Have you tried a speed check with just iCloud turned off but internet
on?
I have tried with iCloud disabled, internet disabled, and SIP disabled.
Only the latter two removes the delay. Also, the issue happens for
~/Downloads which is not an iCloud
On 24 Apr 2020, at 2:28, Gabriel Zachmann via Cocoa-dev wrote:
I believe that is why you are supposed to staple notarization tickets
to your apps.
Then, why would it "phone home" in case there is an internet
connection?
Also weird, why would it phone home for a shell script which has neither
On 24 Apr 2020, at 2:18, Rob Petrovec wrote:
I get a 1 second time for the first run and then a much quicker time
for the second. I did some sampling and the longer time due to is
Apple’s check for malware on first run of a process. This is a
known, documented and advertised behavior.
I wo
On 23 Apr 2020, at 21:15, Rob Petrovec wrote:
If what you say is correct then everyone would be seeing a delay since
most people don’t have blazing fast internet connections. I do not
think this is the normal behavior.
Please try run this in a terminal and report the times:
rm -f /tmp/t
On 20 Apr 2020, at 0:11, Allan Odgaard via Cocoa-dev wrote:
Unfortunately though I can’t figure out *what* the problem is;
running `tccutil reset All` (and rebooting) did not fix it.
It appears the problem is not with a local service, but that Apple
actually “phones home” when a program asks
On 20 Apr 2020, at 0:37, Rob Petrovec wrote:
>> I think you are right about this being a permission / “sandbox”
issue, because the 3 folders in question are all folders that macOS
10.15 now require special permission to read (even though in my case,
I just request their display name).
Yes, th
On 19 Apr 2020, at 22:54, David M. Cotter wrote:
i have discovered it may have to do with permissions / entitlements
that have been granted the app by the user, and that resetting all
perms to default will "fix" the problem
I think you are right about this being a permission / “sandbox”
issu
Starting with macOS 10.15 I have noticed that obtaining
NSURLLocalizedNameKey, NSURLTagNamesKey, and even calling getxattr(),
can cause a significant delay.
The code below, which gets NSURLLocalizedNameKey for 3 folders, takes
1.9 seconds to execute on my system.
It appears though that it is
On 1 Jan 2020, at 2:46, Rob Petrovec via Cocoa-dev wrote:
drawRect is not deprecated. Correct. However, it is technically old
fashioned. It is much more efficient to use layers. Layers can take
better advantage of the video card especially during animations, and
don’t require unnecessary redr
On 27 Dec 2019, at 13:03, Allan Odgaard via Cocoa-dev wrote:
> I do change copiesOnScroll.
Sorry, I meant that I do *not* change copiesOnScroll.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or modera
On 16 Dec 2019, at 16:35, Eyal Redler wrote:
It does look very similar (except for the fact that in your example
the text is also cut on the right. Do you have copiesOnScroll turned
off as well?
I do change copiesOnScroll.
Apart from opting out of responsive scrolling, it’s should be a very
On 22 Dec 2019, at 1:18, Gabriel Zachmann wrote:
Right. I was hoping there is an easy way to do this.
There is the File System Events API:
https://developer.apple.com/library/archive/documentation/Darwin/Conceptual/FSEvents_ProgGuide/Introduction/Introduction.html
__
On 14 Dec 2019, at 21:16, Redler Eyal via Cocoa-dev wrote:
I'm getting reports from users complaining about a strange display
issue on Catalina with my app.
[…]
The problem is that when with some documents, sometimes, when the user
scrolls down the document, some pages are not drawn or even pa
On 25 Nov 2019, at 7:36, Kurt Bigler via Cocoa-dev wrote:
With a menu delegate you can lazily update the menu
(menuNeedsUpdate:) or you can even bypass updating the menu for key
events by implementing menuHasKeyEquivalent:forEvent:target:action:.
I'm not sure that's relevant to my situation,
On 24 Nov 2019, at 22:28, Kurt Bigler via Cocoa-dev wrote:
[…] The idea for least inefficiency given the global updating pass
is to defer (akin to lazy evaluation) the actual menu item updating
until the last possible moment. The last possible moment for mouse
access is when the user clicks i
On 15 Nov 2019, at 0:53, Matthew Kozak via Cocoa-dev wrote:
Another reason why there's really no harm -if not some truly topical
good- in this kind of thread (even w/ some critiques/defenses)
bubbling up here now and again...
I don’t mind off-topic discussions, but the recent thread(s) have b
On 27 Sep 2019, at 14:19, Turtle Creek Software via Cocoa-dev wrote:
It makes sense that Cocoa programmers much prefer ARC to MRC. Doing it
manually is easy to break and hard to debug. However, the fact that
ARC is
not exception-safe concerns me.
Cocoa in general is not exception safe as th
On 4 Sep 2019, at 0:18, Turtle Creek Software via Cocoa-dev wrote:
The startup code was created 3 years ago when we were new to Cocoa,
probably from one of the HIllegass books.
Do you manually load nibs (as opposed to rely on the framework to load
MainMenu.nib)?
In a previous post you wrote
On 31 Aug 2019, at 2:49, Carl Hoefs via Cocoa-dev wrote:
Same result if I run it as a system daemon. So as you suggest it seems
there could be some sort of environment sensitivity going on. If only
I knew what env var to set in the shell... UTC really isn't what I'm
looking for.
The issue ap
31 matches
Mail list logo