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:
Aug ’25
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
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:
Replies
Boosts
Views
Activity
Aug ’25
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:
Replies
Boosts
Views
Activity
Oct ’22
Comment on Full Disk Access, Run and Debug from Xcode?
Okay, thanks! I'll need time to try out these suggestions and post back later if I'm stuck. I wonder how recursive are the security-scoped bookmarks? Could I simply ask for access to /Users/joe or /Users/joe/Workspace and have read/write access to everything under it? I'll find out when I experiment some today.
Replies
Boosts
Views
Activity
Dec ’21
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).
Replies
Boosts
Views
Activity
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.)
Replies
Boosts
Views
Activity
Dec ’21
Comment on How to find forum post with old link?
For some of my dead links, I have enough notes about what was in them to find them again using search engines. But for others, no. For this one the note is basically: "remember this about keychain: link". If they were going to break old links, they should have added a way to find by old ID. Eg, a search query like old_id:281700.
Replies
Boosts
Views
Activity
Dec ’21