On 1/5/25 9:47 AM, Gabriel Zachmann via Cocoa-dev wrote:
Thanks a lot to both of you!
I'm sure there's more than one way to do it, but one way is to create an
NSPDFImageRep. You can then get a CGImageRef from that, or on macOS,
create an NSImage and set that as the layer contents.
Try it out!
> On Jan 5, 2025, at 11:47 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> Thanks a lot to both of you!
>
>> I'm sure there's more than one way to do it, but one way is to create an
>> NSPDFImageRep. You can then get a CGImageRef from tha
Page = [ [NSImage init] addRepresentation: imagePDFrep];
?
Is that the general gist of it?
Best, G.
smime.p7s
Description: S/MIME cryptographic signature
_______
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comment
Oh, I forgot to ask. Are you doing this on the Mac or on iOS? My writeup is
from an iOS perspective. See? I told you. No coffee this morning Hope it
helps to guide you in the right direction in any case.
Alex Zavatone
> On Jan 4, 2025, at 6:30 AM, Gabriel Zachmann via Cocoa-dev
>
-image
And sorry if there are any inaccuracies in my overview. No coffee today.
Cheers! Hope this helps.
Alex Zavatone
> On Jan 4, 2025, at 6:30 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I am using CALayer's to display images with some animations.
>
> Now,
On 1/4/25 4:30 AM, Gabriel Zachmann via Cocoa-dev wrote:
I am using CALayer's to display images with some animations.
Now, I would like to display PDFs (just the first page).
Could some kind soul please explain to me how to load PDFs?
And would I then just add such a PDF obje
gards, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.appl
I can update one of my computers to 15 and if you wish to send me the latest
copy, I can test for you.
Lemme know.
Alex Zavatone
> On Sep 20, 2024, at 7:12 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I have received reports that my screensaver is not working under ma
On Sep 20, 2024, at 07:12, Gabriel Zachmann via Cocoa-dev
wrote:
>
> I have received reports that my screensaver is not working under macOS 15.
For what it's worth, mine is working just fine. And they have not fixed the bug
that leaves legacy screensavers loaded and running after
, Mac geek
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https
On Sep 20, 2024, at 07:12, Gabriel Zachmann via Cocoa-dev
wrote:
>
> I have received reports that my screensaver is not working under macOS 15.
> In particular, it seems like it can't access its settings , using
> ScreenSaverDefaults -defaultsForModuleWithName
I haven
on: S/MIME cryptographic signature
_______
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscript
de signing.
>
> Let me see what I can look in to.
>
> Cheers,
> Alex Zavatone
>
>> On Mar 22, 2024, at 8:23 AM, Mark Allan via Cocoa-dev
>> wrote:
>>
>> Hi all,
>>
>> I'm trying to offer my users the option (via a pre-defined list in
.
Cheers,
Alex Zavatone
> On Mar 22, 2024, at 8:23 AM, Mark Allan via Cocoa-dev
> wrote:
>
> Hi all,
>
> I'm trying to offer my users the option (via a pre-defined list in my app's
> Preferences) to choose an app icon which shows up in the Dock and the Finder.
>
&
is please?
The folks at Panic have managed to do it with Nova, so it must be possible, I
just can't figure it out.
Thanks
Mark
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to t
> On Sat 10.02.2024, at 11.16, Dragan Milić via Cocoa-dev wrote:
>
> Hello all,
>
> I’ve finally changed my main development platform to macOS 14 Sonoma and
> almost immediately have I encountered something I consider being a bug. I
> searched for similar issues, but now
ly)?
-- Dragan
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev
at’s going on.
Steve via iPad
_______
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mai
en, I read the actual values from monitor_user_prefs.
>
> When the user changes a setting, I do the inverse, like this:
>
> .. create a new dictionary monitor_user_prefs, containing all the key/value
> pairs of the settings ..
> [defaults_ setObject: monitor_user_prefs
Sorry, Jens and Pascal!
I have received your messages just now.
You were right, as I have found out a while later kind of the hard way ...
So, thanks again!
Best regards, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev
lldb will stop on
SIGUSR1
Set your breakpoints as needed, then
r --no-stdin
Then you can 'kill -30 ' without getting those annoying breaks in
mach_msg2_trap.
Hope this helps.
Gabriel.
smime.p7s
Description: S/MIME cryptographic signature
___
Hi Gabriel. Happy that you’re getting some progress. Did Jens’s reply not
explain why it would be interfered with when running in the debugger?
> On Jan 31, 2024, at 10:33 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I have investigated a bit further.
>
> When I launc
them, maybe, an ancillary process from Xcode?
>
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the m
/build_setting_ref.html
Hopefully, Jens’s tip will get you what you need!
Best,
Alex Zavatone
> On Jan 31, 2024, at 12:20 AM, Jens Miltner via Cocoa-dev
> wrote:
>
> Xcode intercepts signals in the process being debugged (for good reason).
> You can ignore specific signals in Xcode (i.e. pa
false
process handle SIGUSR1 -p true
HTH,
-jens
> Von: Gabriel Zachmann
> Betreff: Xcode interferes with signal handler (was: Sending SIGUSR1 to a
> process)
> Datum: 30. Januar 2024 um 20:31:45 MEZ
> An: "cocoa-dev@lists.apple.com"
>
>
> I am set
Le 30/01/2024 à 20:31, Gabriel Zachmann via Cocoa-dev a écrit :
I am setting up a signal handler in my app like this:
void *e = signal( SIGUSR1, signal_handler );
if ( e == SIG_ERR )
...
It works (i can 'kill -30 '), BUT ONLY, if I run my app outside of Xcode.
When I
a signal handler?
Or does a kill on the command line deliver the signal to several processes, one
of them, maybe, an ancillary process from Xcode?
Best regards, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mai
ftware
https://www.nemesys-soft.com/
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Updat
://forums.developer.apple.com/forums/thread/90111
Cheers,
Alex Zavatone
> On Jan 29, 2024, at 1:06 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> IIRC, one process cannot send a Unix signal to another one.
> At least, not any more, and not without special privileges.
>
> But
ationMain, mach_msg2_trap.
My signal_handler won't get called.
smime.p7s
Description: S/MIME cryptographic signature
_______
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the li
Yes, this should work. The only changes I know of is that you can’t signal some
Apple processes these days if System Integrity Protection is engaged.
Saagar Jha
> On Jan 28, 2024, at 23:06, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> IIRC, one process cannot send a Unix signal to
d.
Best regards, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.ap
I don’t have those settings on my Mac (Monterey) so I can’t check but I wonder
if you can simply query existing controls for their font information?
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business”
> On Jan 11, 2024, at 8:50 AM, Alex Zavatone v
nothing for text and nothing with a 13 in it.
Ideally I’d search the entire drive for a mod date of today and locate that
file, but I’ll leave that up to you.
Good luck. Let us know what you find.
Cheers,
Alex Zavatone
> On Jan 11, 2024, at 10:58 AM, Alex Zavatone via Cocoa-dev
> wrote:
I had to do something like that on iOS a few years back. Let me see if I have
a solution for MacOS.
Cheers,
Alex Zavatone
> On Jan 10, 2024, at 10:48 AM, Tom Doan via Cocoa-dev
> wrote:
>
> I'm trying to figure out how to query the value for the
> Accessibility---Dis
ion?
Best regards,
Tom Doan
---
Estima
2717 Harrison St
Evanston, IL 60201
USA
_______
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev
smime.p7s
Description: S/MIME cryptographic signature
_______
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
H
> On Jan 3, 2024, at 06:20, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> From one of the users of my screensaver, I get the issue report that
> resolving the SSB does not work.
> He is running macOS 10.14.6 on a Mac Mini.
> I have compiled my screensaver using the cur
rk ];
.. = [NSString stringWithFormat: @"Orig path: %@", [dict
objectForKey: NSURLPathKey];
smime.p7s
Description: S/MIME cryptographic signature
___________
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or m
documentation in the right way and work myself through more complex examples
and use cases.
Thanks,
-- Dragan
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at
There's an active discussion rying to reverse-engineer the screen saver
settings in Sonoma over on GitHub:
https://github.com/JohnCoates/Aerial/issues/1332
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin reques
> On Oct 12, 2023, at 04:54, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> Now, under Sonoma (14.0), I have an issue with the settings (user defaults)
> of my screen saver, again.
>
> I go into System Settings, change some settings of my screen saver, they take
> e
setObject: monitor_user_prefs forKey: displayName_];
bool success = [defaults_ synchronize];
smime.p7s
Description: S/MIME cryptographic signature
_______
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderato
Hi,
I am drawing user-interface elements in Cocoa. I have a problem with
transparent colors.
I have created a minimal example to illustrate the issue.
https://github.com/JeffMcClintock/AlphaBlender
Here is the apps output:
https://synthedit.com/files/AlphaBlender.png
To explain
ntext, and restore it afterwards).
>
> All the best
> JP
>
>
>
>
>
>
>
>a graphic context created by myself ( hence not the supplied on by the
> printing framework )
>
>> Le 22 sept. 2023 à 17:59, David Duncan > <mailto:david.dun.
t
JP
a graphic context created by myself ( hence not the supplied on by the
printing framework )
> Le 22 sept. 2023 à 17:59, David Duncan a écrit :
>
>
>
>> On Sep 22, 2023, at 11:12 AM, JPH via Cocoa-dev
>> wrote:
>>
>> I am facing the following pr
> On Sep 22, 2023, at 11:12 AM, JPH via Cocoa-dev
> wrote:
>
> I am facing the following problems in drawing text and graphics in
> CGContextRef of an NSview and Printing framework:
>
> 1) drawing text using: [finalString drawInRect:textBox
> withAttribu
gards
JP
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.a
> would give the right ‘fullscreen’ sizes for any current or future screen
> shape.
>
>
> Angela Brett (she/her)
> http://angelastic.com
> ang...@angelastic.com
>
>
>
>
>
smime.p7s
Description: S/MIME cryptographic signature
___
cription: S/MIME cryptographic signature
_______
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/U
is different?
If it was a permissions issue the icon would have a 🚫 badge on it and should
not appear disabled (grayed out). Hope that helps & good luck.
—Rob
> On Sep 5, 2023, at 12:10 PM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> My app loads a number of image files a
el
PS:
Yes, I know that an app/user should never mess with the contents of the photos
library.
But in my app, I am merely loading the files, nothing else.
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-de
gt; with it.
>>
>> Cheers,
>> Alex Zavatone
>
>
> Le 24 août 2023 à 07:44, Sandor Szatmari a
> écrit :
>
> You mention ARC… aren’t you not supposed to explicitly release objects under
> ARC? Am I misunderstanding?
>
> Sandor
>
>>
>
> On Aug 23, 2023, at 11:44 PM, Sandor Szatmari via Cocoa-dev
> wrote:
>
> You mention ARC… aren’t you not supposed to explicitly release objects under
> ARC? Am I misunderstanding?
>
> Sandor
>
>> On Aug 23, 2023, at 18:48, JPH via Cocoa-dev
>> wrot
à 07:44, Sandor Szatmari a écrit
:
You mention ARC… aren’t you not supposed to explicitly release objects under
ARC? Am I misunderstanding?
Sandor
>
>> On Aug 23, 2023, at 4:47 PM, JPH via Cocoa-dev
>> wrote:
>>
>> Hello friends,
>>
>> The enclosed
You mention ARC… aren’t you not supposed to explicitly release objects under
ARC? Am I misunderstanding?
Sandor
> On Aug 23, 2023, at 18:48, JPH via Cocoa-dev
> wrote:
>
> Hello friends,
>
> The enclosed procedure is producing a NSImage from another NSImage, by
>
.
Cheers,
Alex Zavatone
Sent from my iPad
> On Aug 23, 2023, at 5:48 PM, JPH via Cocoa-dev
> wrote:
>
> Hello friends,
>
> The enclosed procedure is producing a NSImage from another NSImage, by
> cropping in a NSRect.
> The resulting sub-Image feeds an imageView in t
CGImageForProposedRect returns an autoreleased CGImageRef, so your
CFRelease(imageRef) is an overrelease and likely the cause of your problem.
The rest of the code looks fine, including the release of subImageRef (if it
was uncommented).
—Rob
> On Aug 23, 2023, at 4:47 PM, JPH via Cocoa-
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev
justing mainScreen.frame
with mainScreen.safeAreaInsets? I haven’t tried it but I would hope those would
give the right ‘fullscreen’ sizes for any current or future screen shape.
Angela Brett (she/her)
http://angelastic.com
ang...@angelastic.com
_____
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your
notch, and use a
smaller mainScreen.frame.size accordingly;
but I am pretty sure this would break with the next Mac models again.
So, I am looking for something more future-proof.
Best regards, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
___
Coco
Gabe, I wonder if you can manually mess up your pList settings (keep a working
copy) to see if this replicates any of the issues you see.
Cheers from Windhoek,
Alex Zavatone
> On Aug 15, 2023, at 8:24 PM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I can try that , but I would
rsely, it’s not necessarily sitting around watching the
>> plist file for changes. The correct way to update user defaults in an ad-hoc
>> fashion is to use the defaults command.
>>
>
___
Cocoa-dev mailing list (Cocoa-dev@lists.app
phic signature
_______
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/
to disk
> immediately. Conversely, it’s not necessarily sitting around watching the
> plist file for changes. The correct way to update user defaults in an ad-hoc
> fashion is to use the defaults command.
>
smime.p7s
Description: S/MIME cryptographic signature
____
I can try that , but I would have no idea what to look for.
Is there any known reasons why a toggleFullScreen call might not send the
window to full-screen?
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa
Best regards, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.app
I would suggest asking your user for a system report or sysdiagnose. It might
glean some details about their environment.
--
Gary
> On Aug 15, 2023, at 3:30 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I have one user of my macOS app (under macOS 13.4.1)
> where the app d
pain in the ass iPhone.
> On Aug 15, 2023, at 12:31, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I have one user of my macOS app (under macOS 13.4.1)
> where the app does not want to go into full-screen mode.
>
> It is a pretty plain app.
>
>
ve already googled, but it seems like what that user reports does not
happen anywhere else.
Is there anything that could prevent a window from going into fullscreen mode?
Best regards, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
_______
I reported that to you as well if you look at my older replies.
Greetings from Etosha.
> On Aug 13, 2023, at 8:49 PM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> One of the users of my screensaver has reported a very funny bug:
> my screensaver is working, but when they open th
s, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
_______
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/U
Use the commend “defaults delete de.zach.ArtSaverApp” to delete all your prefs.
That should remove them everywhere.
At least that is what as worked for my in my limited experience.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
an ad-hoc fashion
is to use the defaults command.
> On Aug 6, 2023, at 01:53, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I am pretty confused with the NSUserDefaults system.
>
> My app stores different settings for different monitors in the
> [NSUserDefaults standardU
value in plist file reflects
that, even while I have the plist file open in Xcode.
Very confused,
Gabriel.
smime.p7s
Description: S/MIME cryptographic signature
_______
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin request
notifications.
These are easy to use, and, I believe, still the best way to send info from one
app to another in the Mac system.
Jack
> On Jul 25, 2023, at 9:38 AM, Rob Petrovec via Cocoa-dev
> wrote:
>
> NSDistributedNotificationCenter is a way to send a notification out across
> t
hLength:
NSStatusItem.variableLength )
in my app ...
smime.p7s
Description: S/MIME cryptographic signature
_______
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
regards, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)
ription: S/MIME cryptographic signature
_______
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscr
On 7/25/23 7:38 AM, Rob Petrovec via Cocoa-dev wrote:
NSDistributedNotificationCenter is a way to send a notification out across the
system. Only processes that are listening for the notification will receive it and
have a chance to do something with it. It’s like yelling out in a crowded room
ow me to send a signal.)
>
> What do you mean by "distributed notification" ?
> How would I send it?
>
> Best regards, Gabriel
>
>
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin request
ptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coco
Yeah, you might be able to send out a distributed notification and have the
menuling listen for it. When it receives it it can kill itself or go through
the normal teardown/quit procedure.
—Rob
> On Jul 25, 2023, at 6:15 AM, Alex Zavatone via Cocoa-dev
> wrote:
>
> What if
What if you called a method in the other process and the other process kills
itself with a kill?
Is kill no longer functional from any process?
> On Jul 25, 2023, at 2:49 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> Is there a simple way for one process to send a sing
, this is no longer possible.
(At least, not without privilege elevation, which seems too complicated.)
All hints and ideas will be appreciated!
Best regards, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list
It’s quoted. So it prints “Z”
>>
>>>> On 22 Jul 2023, at 06:15, Gabriel Zachmann via Cocoa-dev
>>>> wrote:
>>>
>>> In the Apple docs in chapter "Date Formatters" I found sample code that
>>> contains this line:
>>>
&g
Thanks! ... and what is the meaning of the Z at the end of a date/time ?
GMT+0:0 ?
Best regards, Gabriel
> On 22. Jul 2023, at 12:25, Roland King wrote:
>
> It’s a literal. It’s quoted. So it prints “Z”
>
>> On 22 Jul 2023, at 06:15, Gabriel Zachmann via Cocoa-dev
>&g
Le 22/07/2023 à 12:15, Gabriel Zachmann via Cocoa-dev a écrit :
In the Apple docs in chapter "Date Formatters" I found sample code that
contains this line:
[rfc3339DateFormatter setDateFormat:@"'-'MM'-'dd'T'HH':'mm':'ss
It’s a literal. It’s quoted. So it prints “Z”
> On 22 Jul 2023, at 06:15, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> In the Apple docs in chapter "Date Formatters" I found sample code that
> contains this line:
>
> [rfc3339DateFormatter setDateFormat:@&
he 'Z' do?
And where would I find the doc about it? (and potential other letters?)
My guess would be it has something to do with the 'Z'/time offset mentioned in
RFC 3339, but it is unclear to me exactly what is meant here.
Best regards, Gabriel
smime.p7s
Description: S/
Saagar Jha
>
>> On Jul 18, 2023, at 16:01, Gabriel Zachmann via Cocoa-dev
>> wrote:
>>
>>
>>> That number is 0x7FFF, which is particularly recognizable and
>>> happens to be the value of NSNotFound.
>>>
>>> I imagine th
Since my question is about specific Cocoa API, but it also involves file system
operations, I don't know it the appropriate place to ask is here or
Filesystem-dev list, so I'll ask on both (and hope nobody will mind it :-))
I have an application, which "messes" with files i
Console should have it. That crash log will have the base address in it that
you can use to symbolicate things.
Saagar Jha
> On Jul 18, 2023, at 16:01, Gabriel Zachmann via Cocoa-dev
> wrote:
>
>
>> That number is 0x7FFF, which is particularly recognizable and
ther than log messages, would be a lot more useful.
Where would i find that crash report, given its a screensaver?
Just in case something like that happens again ...
Best regards, Gabriel
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa
> On Jul 18, 2023, at 9:28 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> 2023-07-17 13:13:23.657278+0200 0xff744Error 0x1144e1
> 2670 0legacyScreenSaver: [com.apple.ScreenSaver:Modules]
> -[LegacyExtensionManager processExtensionRequest:replyI
we could say why.
GL.
> On Jul 18, 2023, at 11:28 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> Does anybody know how I could decipher the following entries in the log file?
> More precisely, is there a way I can determine the location in the code where
> the exception occur
]
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe
14, 2023, at 8:09 AM, Gabriel Zachmann via Cocoa-dev
> wrote:
>
> I have an app that logs messages (info and errors) as follows:
>
>...
>log_client_ = os_log_create( "de.zach.MyApp", "MyApp" );
>...
>
> void logMessage(
uts??
They all occur on the same day, and users extract and send their log files on
the same day the problem occurs.
Any ideas and hints will be highly appreciated!
Best, G.
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev
1 - 100 of 1876 matches
Mail list logo