Post

Replies

Boosts

Views

Activity

Reply to Small Size Icons and NSToolbar on MacOS 12.0 Monterey -- can it work?
I, too, have gone through a nightmare with small size toolbar icons on MacOS Tahoe. Every attempt I've made to programmatically swap out toolbar sizes has failed for NSToolbarItem -- unless it has an NSButton (bevel style) as a custom view. Apple's Coding Assistant has taken me down multiple blind alleys. Can't I just have multiple toolbars, including a small size toolbar where I can switch to it by hiding the full-size toolbar?
Topic: UI Frameworks SubTopic: AppKit Tags:
Feb ’26
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
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 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 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 The Nightmare of Small Toolbar Icons
I guess I'm going to attach an NSButton to each and every toolbar icon. There doesn't seem to be any developer knowledge (at least here) on the subject. 🙁
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to Small Size Icons and NSToolbar on MacOS 12.0 Monterey -- can it work?
I, too, have gone through a nightmare with small size toolbar icons on MacOS Tahoe. Every attempt I've made to programmatically swap out toolbar sizes has failed for NSToolbarItem -- unless it has an NSButton (bevel style) as a custom view. Apple's Coding Assistant has taken me down multiple blind alleys. Can't I just have multiple toolbars, including a small size toolbar where I can switch to it by hiding the full-size toolbar?
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Feb ’26
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.
Replies
Boosts
Views
Activity
Dec ’25
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:
Replies
Boosts
Views
Activity
Oct ’23
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:
Replies
Boosts
Views
Activity
Feb ’23
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?
Replies
Boosts
Views
Activity
Oct ’22