Post

Replies

Boosts

Views

Activity

Reply to Proper way to display error alert during drawing from main thread
@Claude31 -- my Main thread is drawing the content of the window (quite complex). Sometimes -- rarely -- it may encounter errors in MY CODE related to fonts or layout issues. When this happens I need the user to OK sending an error report back to us. So we put up a couple of modal alerts (they might even be modal dialogs). I've read there's a way to allow these to draw on a secondary thread? Is that the right way to handle this kind of situation?
Oct ’22
Reply to NSSharingService with email for 3rd-party apps
As of February 2023, this code DOES launch Outlook, but will NOT attach a document to the Outlook-created email: ` NSString* msgText = @"This is text for the body of the email"; NSMutableAttributedString *maStr = [[NSMutableAttributedString alloc] initWithString:msgText attributes:@{ } ]; NSSharingService* mailShare = [NSSharingService sharingServiceNamed:NSSharingServiceNameComposeEmail]; NSArray* shareItems = @[maStr, fileToSendURL]; [mailShare performWithItems:shareItems];` Anyone?
Topic: UI Frameworks SubTopic: AppKit Tags:
Feb ’23
Reply to Delete / Delete Forward key on Sonoma -- broken?
AFAIK, NO. We reproduced the FORWARD DELETE issue on a fresh install of Sonoma. Also, it doesn't appear that FORWARD DELETE (fn+Delete on a laptop) can be assigned to a shortcut. Additionally, it's odd that long-time users who habitually use the FORWARD DELETE key only noticed the issue when Sonoma was published.
Topic: UI Frameworks SubTopic: AppKit Tags:
Oct ’23
Reply to Nasty problems in Xcode 26.2: Apple Intelligence crash & Source Code Control Failure
AN UPDATE: This suggestion (from ChatGPT) resolved the problem of the AI Assistant crashing: # from the folder that contains your .xcodeproj / .xcworkspace mv *.xcodeproj/xcuserdata ~/Desktop/xcuserdata_xcodeproj_backup 2>/dev/null mv *.xcworkspace/xcuserdata ~/Desktop/xcuserdata_xcworkspace_backup 2>/dev/null There still remains the problem where one specific .mm file will absolutely NOT show its specific changes. I'll continue to investigate.
Dec ’25