I would agree with the use of Distributed Notifications, but there is a new
limitation that was added a few years ago. The receiver must be in the same
login. You can no longer use it to send notifications from one user app to a
different user’s app. This came to light for me when I was trying t
The NSScreen screen property is nullable. From the docs for NSWindow screen:
"The value of this property is the screen where most of the window is on; it is
nil when the window is offscreen."
I would go with Steve’s suggestion as much as possible, The NSScreen class has
the info you need.
Jac
Instead of using NSOperationQueue, I would use GCD to handle the tasks. Create
a new Concurrent queue (dispatch_queue_create(DISPATCH_QUEUE_CONCURRENT)), then
enqueue the individual items to the queue for processing (dispatch_async(),
using the queue created above). Everything can be handled in
In Monterey, /tmp is now only writeable by root. It is quite possible that
Xcode couldn’t write there for the indexing.
When you changed to a new account, it probably changed where the derived data
went.
It used to be that /tmp was writeable by anyone. That change bit me recently as
well. Secu
In 10.13 this is not a Notarization problem. It could be a quarantine problem,
though. Have him move the application to any directory other than the one where
he unzipped the app, then launch the app. That should remove the quarantine and
allow him to run the app if that was the problem. The App
s NSScrollerStyleOverlay.
>>>
>>> However, I would discourage you from changing this.
>>>
>>>
>>>>> On 13 Apr 2021, at 9:24, IOS NACSPORT via Cocoa-dev wrote:
>>>>
>>>> Hi,
>>>>
>>>> I connect
/Applications is owned by root, and has rwx privileges only for the system, and
rx for group (admin) and all. This means you will need to have your installer
(with root privileges) to create your company/application directory inside.
As an alternative, you can certainly place your directory in /
Quick followup:
Howard’s app: ArchiChect will do the job you need. The product page is at:
https://eclecticlight.co/32-bitcheck-archichect/
And it is free!
Jack
> On Apr 12, 2021, at 3:40 PM, Jack Brindle via Cocoa-dev
> wrote:
>
> From the code sign man page:
> cod
What is the mouse, and is there any installed software involved that goes with
the mouse?
Jack
> On Apr 12, 2021, at 12:30 AM, IOS NACSPORT via Cocoa-dev
> wrote:
>
> Hi,
>
> I don't kown is the correct place, In a NSScroller, when I conect the
> external mouse, not apple's mouse, the scro
From the code sign man page:
codesign --display --verbose=4 Terminal.app
replace Terminal.app with your application name (be sure to unzip first). The
information shown will tell you whether it is has a valid signature.
You might try it on a few other apps just to see what that looks like.
Be su
I agree with you, to an extent. NSUserDefaults is very good when used as a
single-level repository for settings data. When you want to categorize the
settings by using collections, it starts to show the same problems that a
regular file has, except slightly worse. Collections are saved as an obj
e depreciated initWithUser: and added initWithSuiteName: around this same
> timeframe.
>
>
>> On Apr 4, 2021, at 12:15 AM, Jack Brindle via Cocoa-dev
>> wrote:
>>
>> Gabriel;
>>
>> It appears you are trying to get NSUserDefaults to do something that
Gabriel;
It appears you are trying to get NSUserDefaults to do something that Apple
doesn’t want it to do these days. Why not create your own defaults,
writing the data to a dictionary that is then written to a file that you save
in the ~/Library/Preferences folder, with a name of your choice?
final product.
Once you get the hang of Notarization, you will find it isn’t difficult.
Getting there is, however.
Jack
> On Apr 25, 2020, at 6:23 PM, Jack Brindle via Cocoa-dev
> wrote:
>
> It seems like it would be easier to find the Build directory’s releases
> folder a
It seems like it would be easier to find the Build directory’s releases folder
and the find the built product somewhere inside. It’s relation to the Build
directory won’t change from build to build. Once you find that, just Notarize
it in place. You need to make sure that it is already code/prod
I would add that for those of us developing for the Mac platform, the security
sessions have been critical for the last two years. Without a good
understanding of the issues discussed in those sessions, I don’t see how a
developer's application could run properly on Catalina.
I see the WWDC ses
Jerry;
Thanks for updating that info. Your info has helped a lot in my own
notarization efforts.
The Notarization system consists of two parts - the front end that our scripts
communicate with to request takes and get info, and a back-end that actually
does the notarization work. When we get t
- MacBook
> Mouse - Apple Keyboard - Dell Hub - MacBook
>
> Checking the Trace in Instruments reveals that the scrolling via mouse wheel
> get processed differently than scrolling on the trackpad.
>
> - Michael
>
>> On 21. Jun 2018, at 02:01, Jack Brindle wrote:
with that method of
communications.
I’m not saying this is a mouse issue, just trying to make sure it isn’t one.
Jack Brindle
Logitech Engineering
> On Jun 20, 2018, at 4:53 AM, Michael Starke
> wrote:
>
> I'm using a Logitech mouse without any additional drivers instal
What’s the mouse? It’s not from Apple, so what is it, how is it connected and
does it use any software to help it work?
Jack
> On Jun 19, 2018, at 2:56 AM, Michael Starke
> wrote:
>
> Hi list,
>
> I'm currently trying to find the bottleneck in my app MacPass that's causing
> the scrolling
Not necessarily. I have never seen a guarantee that the C++ string functions
output their data in the exact format that [NSString
stringWithCharacters:length:] needs as an input. As you discovered, getting
UTF8 from the C++ string does give you proper data for the corresponding
NSString creator
One thing further. The defaults are set in the program, and changes are written
to the plist when they first differ from the set defaults. This can be very
confusing since many folks expect to see all defaults in the file and are
surprised to see only a few. Interestingly it appears that if they
I would be willing to bet that you are throwing a lot of constraint exceptions
without realizing it.
When the view is laid out the constraints are evaluated, including the
priorities. When a set
of constraints has a conflict with another (very easy to do) the priorities
come into play. If
you se
. They
received many horrified looks as they discussed forking, child died events and
so forth. It provided much laughter after they explained
what the discussion was all about.
Best of luck learning our complex language. And if we can help, just ask!
- Jack Brindle
> On Oct 27, 2017, at 12:57
Actually, there may be a way. It all depends on exactly where in the menu bar
you want to place the menu item.
If you want to add it on the right side as a status item, then you need to
check out NSStatusBar. This would
allow you to add a separate application (more likely a user Agent which can b
an interesting challenge in our environment, especially without
windows or views available. Please let us know how you do it!
Jack Brindle
> On Dec 30, 2016, at 5:30 AM, Uli Kusterer
> wrote:
>
> On 12 Dec 2016, at 07:22, David M. Cotter wrote:
>> My app is mostly C++ (
Way back when (Xcode 3) the doc interface was pretty good. Now its really
awful. The web interface is far better. But Dash is even better than that. Dash
2 (and now Dash 3) gives you searchable interface for not just Xcode docs but
others as well. Dash 3 extends this, adding archives, and as far
continuing.
Pthreads have been in OS X for a very long time…
Now let me repeat. pthread_join is evil, bad, not to be used. There are much
better ways of doing things, even in pthreads.
And definitely not to be used in the main thread…
- Jack Brindle
> On Jun 29, 2015, at 2:41 PM, Quincey Mor
I’’m surprised that no one else has suggested looking at the TextEdit source.
It’s available from Apple as a sample…
That should be rather revealing.
- Jack
> On Jun 13, 2015, at 10:00 PM, Kurt Sutter wrote:
>
> Good point. Yes, I have some changeFont: selectors in some of my classes, but
> I
Oops, not any more. clickedPathComponentCell was deprecated in Yosemite.
Instead, look at the URL property. Valid back to 10.5.
> On May 27, 2015, at 3:43 PM, Lee Ann Rucker wrote:
>
>
> On May 27, 2015, at 2:55 PM, Jens Alfke wrote:
>
>>
>>> On May 27, 2015, at 2:46 PM, Raglan T. Tiger
Have you checked the Font you are using to display the character string to see
if it contains the bicycle character? If not, you probably won’t get the
character you seek.
- Jack
> On Apr 6, 2015, at 11:15 AM, Gerriet M. Denkmann wrote:
>
>
>> On 7 Apr 2015, at 00:15, Quincey Morris
>> wro
Doesn’t [self class] do this? The method is within whatever self is, so it
seems appropriate that [self class]
would provide what you want.
- Jack
> On Feb 22, 2015, at 4:41 AM, BareFeetWare
> wrote:
>
> Hi all,
>
> How can I get the class of a method, at runtime?
>
> I can get the name of
interesting.
- Jack Brindle
> On Dec 29, 2014, at 5:06 PM, Roland King wrote:
>
>
>>
>> I'm currently trying to set up developer tools on my new, fresh Mavericks
>> installation, but there is only one place where containsString: is being
>> cal
33 matches
Mail list logo