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!
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 Flush Metal rendering when program is paused in LLDB?
I just got this working. Thank you! Besides waitUntilCompleted as you recommended, I also switched from MTKView to a lower level technique using CAMetalLayer (following an Apple sample project named "CustomMetalView"). That may not be necessary but in my situation it helped. Now when I'm in LLDB and I step across a change in the data model, I can call a certain Swift function (p debugRender()) and I see the change on my device screen. Sweet!
Nov ’21