Post

Replies

Boosts

Views

Activity

Reply to Whimsical tooltips behaviour in popover (Appkit)
I've solved the issue with a workaround (until I understand what is causing the initial issue). I mimic clicking in windowA by sending a mouseDownEvent, and it works. self.window?.makeFirstResponder(self.window) self.theViewToClick.perform(#selector(NSResponder.self.mouseDown(with:)), with: newMouseDownEvent!)
Topic: UI Frameworks SubTopic: AppKit Tags:
Feb ’26
Reply to Whimsical tooltips behaviour in popover (Appkit)
I found something and potential solution. The NSPopover is created inside a windowController (window A). If I click in window A after opening the popover, all tooltips work correctly. What is the reason ? Could it be I did not set delegate for the popover ? I have tried to no avail I tried to make the window front and key No success either So there would be a workaround: simulate a click in window A What is the simplest way to achieve this click programmatically (if possible without showing mouse movement) ? Should I use mouseEvent(with:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:) and then postEvent(_:atStart:)
Topic: UI Frameworks SubTopic: AppKit Tags:
Feb ’26
Reply to Error in Xcode console
Same here. -[AFPreferences _languageCodeWithFallback:] No language code saved, but Assistant is enabled - returning: fr-FR GenerativeModelsAvailability.Parameters: Initialized with invalid language code: fr-FR. Expected to receive two-letter ISO 639 code. e.g. 'zh' or 'en'. Falling back to: fr Mac is 15.7.3 Xcode is 16.4. Yes, I know, I'll have to update soon.
Feb ’26
Reply to Developers Need Some Answers
…are not receiving what they paid for. When trying to reach out to Apple… For sure you have read your licence agreement: https://developer.apple.com/support/terms/apple-developer-program-license-agreement/ 2.10 Updates; No Support or Maintenance … Apple is not obligated to provide any maintenance, technical or other support for the Apple Software or Services. … So, even though that may be frustrating, they just meet their contractual obligation on that point.
Feb ’26
Reply to Help, I'm New and Lot
Welcome to the forum Warren85. It is hard to say with such limited information. You should read this to get tips on how to post on the forum: https://developer.apple.com/forums/thread/706527 This being said, please tell: Is it an iOS app (for iPhone / iPad) ? Is it SwiftUI ? Show the code of the app (ContentView if SwiftUI), we shall help you. Or at list the part where the initial content should show on simulator.
Feb ’26
Reply to Setting the highlight colour of a selected cell in NSTableView
Thanks for reply.   You definitely wouldn't want to change the highlight style in "viewFor". Maybe do that in viewDidLoad or something. What's the issue ?   There's more than one way to do this. One would be enough Anyway, I change my mind to stay consistent with system behaviour and will change the color of the text (to white) when selected, to make it more readable.
Topic: UI Frameworks SubTopic: AppKit Tags:
Jan ’26
Reply to How to pick which simulator i want to use in xcode
If I understand correctly your problem, the simulators you can use depend on the minimum deployment you've defined for your app. Select the app in file navigator panel of Xcode select Targets select general Then set the minimum deployment to iOS 18 or lower if you want to use such simulators. Then, in the top bar of Xcode window, select the simulator as usual.
Replies
Boosts
Views
Activity
Feb ’26
Reply to Whimsical tooltips behaviour in popover (Appkit)
I've solved the issue with a workaround (until I understand what is causing the initial issue). I mimic clicking in windowA by sending a mouseDownEvent, and it works. self.window?.makeFirstResponder(self.window) self.theViewToClick.perform(#selector(NSResponder.self.mouseDown(with:)), with: newMouseDownEvent!)
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to Whimsical tooltips behaviour in popover (Appkit)
I found something and potential solution. The NSPopover is created inside a windowController (window A). If I click in window A after opening the popover, all tooltips work correctly. What is the reason ? Could it be I did not set delegate for the popover ? I have tried to no avail I tried to make the window front and key No success either So there would be a workaround: simulate a click in window A What is the simplest way to achieve this click programmatically (if possible without showing mouse movement) ? Should I use mouseEvent(with:location:modifierFlags:timestamp:windowNumber:context:eventNumber:clickCount:pressure:) and then postEvent(_:atStart:)
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Feb ’26
Reply to Error in Xcode console
Same here. -[AFPreferences _languageCodeWithFallback:] No language code saved, but Assistant is enabled - returning: fr-FR GenerativeModelsAvailability.Parameters: Initialized with invalid language code: fr-FR. Expected to receive two-letter ISO 639 code. e.g. 'zh' or 'en'. Falling back to: fr Mac is 15.7.3 Xcode is 16.4. Yes, I know, I'll have to update soon.
Replies
Boosts
Views
Activity
Feb ’26
Reply to Developers Need Some Answers
…are not receiving what they paid for. When trying to reach out to Apple… For sure you have read your licence agreement: https://developer.apple.com/support/terms/apple-developer-program-license-agreement/ 2.10 Updates; No Support or Maintenance … Apple is not obligated to provide any maintenance, technical or other support for the Apple Software or Services. … So, even though that may be frustrating, they just meet their contractual obligation on that point.
Replies
Boosts
Views
Activity
Feb ’26
Reply to Help, I'm New and Lot
Welcome to the forum Warren85. It is hard to say with such limited information. You should read this to get tips on how to post on the forum: https://developer.apple.com/forums/thread/706527 This being said, please tell: Is it an iOS app (for iPhone / iPad) ? Is it SwiftUI ? Show the code of the app (ContentView if SwiftUI), we shall help you. Or at list the part where the initial content should show on simulator.
Replies
Boosts
Views
Activity
Feb ’26
Reply to Setting the highlight colour of a selected cell in NSTableView
Thanks for reply.   You definitely wouldn't want to change the highlight style in "viewFor". Maybe do that in viewDidLoad or something. What's the issue ?   There's more than one way to do this. One would be enough Anyway, I change my mind to stay consistent with system behaviour and will change the color of the text (to white) when selected, to make it more readable.
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Jan ’26