Post

Replies

Boosts

Views

Activity

Comment on For cursor update events (with NSTrackingArea) how to know if it's coming or going?
Okay, I got it working now. Strangely, your example (translated to Obj-C) did not work for me until I removed the NSTrackingCursorUpdate flag from the tracking area. If I have that flag, then I have to set the cursor in the cursorUpdate method. My calls to set or push an NSCursor in the mouseEntered/Exited are ignored. If I remove that flag, then the calls in mouseEntered/Exited work as you have them here. Thanks!
Topic: UI Frameworks SubTopic: AppKit Tags:
Oct ’22
Comment on Equivalent of coalescedTouchesForTouch in AppKit?
I think coalesced events are a different thing. That allTouches is (I believe) for when multiple fingers are on the screen or touchbar at the same time. Whereas "coalesced" means when the user is moving something like a stylus very fast, so you get one event but it has a kind of backlog of multiple events or touch/stylus positions inside it. Normally you might not care, but for a drawing app your want that path.
Topic: UI Frameworks SubTopic: AppKit Tags:
Aug ’25