Post

Replies

Boosts

Views

Activity

Comment on NSWindow not release memory
thank you, first the code in is NSPanel (class NotchPanel: NSPanel,NSWindowDelegate) I did a notch app for macos. the isReleasedWhenClosed is false because when it's true after I close the window and try to open SettingsViewController again the app crash (memory leak issue) if the delegate is not nil the app crash if I remember correct
Topic: Programming Languages SubTopic: Swift Tags:
Aug ’23
Comment on Rectangle change size by swipe
Thank you but drag gesture is only with drag (tap and drag on trackpad) and not swipe
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Jan ’25
Comment on Can't typing on NSTextField
The problem solve after I remove showSuggestionMenu but it also not show the NSMenu that I need so it's no help me Here's video https://streamable.com/rrluht
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Jun ’24
Comment on Can't typing on NSTextField
That's how it's look like, I can't typing after the first letter until I tap again on the textfield Video link: https://streamable.com/rrluht
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
Boosts
Views
Activity
Jun ’24
Comment on Check for a new mail (macos)
Yeah, I'm trying to check if is there new message in any Mail inbox from the built in Mail app on macOS I want to get the title of the mail, the body and the sender name
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jan ’24
Comment on NSWindow not release memory
thank you, first the code in is NSPanel (class NotchPanel: NSPanel,NSWindowDelegate) I did a notch app for macos. the isReleasedWhenClosed is false because when it's true after I close the window and try to open SettingsViewController again the app crash (memory leak issue) if the delegate is not nil the app crash if I remember correct
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’23
Comment on Airplane mode on watchOS
thank you, but I don't care if I iPhone is on airplane mode or not Is it possible to detect status icon on Apple Watch to check if airplane mode icon is show?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’23
Comment on CABasicAnimation change size of rect
It was anchorPoint problem I fixed it by set anchorpoint to (x:0.5, y:1.0)
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’23
Comment on How to add vibrancy to image?
macOS
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on How to add vibrancy to image?
I don't use AppKit I'm using Cocoa
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Play/Pause now playing with MediaRemote framework
I used MediaRemote.framework is a Apple private framework
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’21
Comment on Implement vibrancy on NSTextField
I develop for macOS, the label is not vibrancy, you can see in the image the label is not vibrancy
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Aug ’21