Post

Replies

Boosts

Views

Activity

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:
1w
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 Full Disk Access, Run and Debug from Xcode?
Oops, forgot your last question. The Signing Certificate popup says "Development" now. I'm sorry, I don't know what you mean by "stable code signing identity". For some of my other projects, which are iOS apps deployed in the App Store, that item is not a popup and it does not say "Development". It will say something like "Apple Development: [My Name] ([alpha-numeric code])". This macOS app that I'm asking about has no App Store record (maybe someday).
Dec ’21
Comment on Full Disk Access, Run and Debug from Xcode?
Okay, "Files and Folders" might work. The first file that gave the error had a path like "~/Workspace/MyProject/main.jl". That "Workspace" directory is where I have a lot of software dev and other projects. And yes, it's a GUI app that the user would normally click on in Finder. I think I want permissions similar to Xcode. The app is going to be editing different kinds of files: scripts, programming language code files, and custom "project" files that are SQLite databases. It's an app for creating 2D and 3G generative art. So it will probably open "Projects" that are directories full of files, but I would also like it to be able to edit random files. (So, similar to how Xcode works in that respect.)
Dec ’21