Closed progrium closed 3 months ago
Is doing this in a virtual environment or emulator ok?
I wanted to use some NSBezelStyle constants but I could not find them in DarwinKit. Is it because of this issue?
Does this have to be done on x86_64? I could help if you are ok with running the command on ARM64.
I wanted to use some NSBezelStyle constants but I could not find them in DarwinKit. Is it because of this issue?
Does this have to be done on x86_64? I could help if you are ok with running the command on ARM64.
Do you mean NSTextFieldBezelStyle? Give me a reference link to what you mean if not.
It was not NSTextFieldBezelStyle. It was actually NSBezelStyleCircular or NSBezelStylePush. I was trying to use SetBezelStyle() on a NSButton.
Here is a link to the styles I was looking at: https://developer.apple.com/documentation/appkit/nsbezelstyle?language=objc
I used the grep command to find some of the style values but wasn't successful. I'm guessing this current issue is the problem.
Are you staying up to date with the darwinkit branch?
https://github.com/progrium/macdriver/blob/darwinkit/macos/appkit/enumtypes.gen.go#L685
That worked. Thank you.
I noticed that you dropped NS from everything. I thought you were into following the standard. Why the change?
I
for interfaces)
To make sure we have all possible values for generated constants and enums, we need to run our export tool on the latest version of macOS. If anybody is running macOS 14 on x86_64, it would help if you could checkout the
darwinkit
branch and run:Then submit a PR of the resulting changes to
./generate/modules/enums
againstdarwinkit
.