macdriver
macdriver copied to clipboard
Native Mac APIs for Go. Soon to be renamed DarwinKit!
It would be great if a contributing guide or a todo for the project is created to support individuals interested in the project.
Hi, I've started getting these errors since the v0.2.0 release: ``` $ make install go install github.com/progrium/shelldriver/cmd/[email protected] # github.com/progrium/macdriver/core ../../../go/pkg/mod/github.com/progrium/[email protected]/core/core_objc.gen.go:172:3: warning: class method '+localizedUserNotificationStringForKey:arguments:' not found (return type defaults to...
Cool project, thx for creating it! Just a quick info: The Pomodoro menu bar widget vanishes (process dies) as soon as any unrelated application's window is put into full screen....
as [mentioned](https://github.com/progrium/macdriver/issues/12#issuecomment-774351375) in #12, not using a pointer for [`type object`](https://github.com/progrium/macdriver/blob/main/objc/object.go#L80) means its passed as a value. i believe the suggestion was to use it as a pointer type so...
Updates the NSViewController schema with the IBOutlet fix from progrium/macschema#12 to parse the types correctly.
Objective-C uses enums & type aliases quite often. The manually written macdriver code often only includes a subset that was needed at the time, but it would help to more...
Hi. Is there a way to support `NSImage` init with [drawingHandler](https://developer.apple.com/documentation/appkit/nsimage/1519860-init) to create dynamically drawn images. If this `init` is not supported, is there another way around it? I.e. create...
- Adds a generator - Generates direct `objc_msgSend` calls for the 10 most common signatures - Miscellaneous other changes to support this
This is a quick sketch of a possible alternative approach for sending messages. This is based on Apple's example for creating type-safe pointers to `objc_msgSend`: https://developer.apple.com/documentation/apple-silicon/addressing-architectural-differences-in-your-macos-code#Enable-Strict-Type-Enforcement-for-Dynamic-Method-Dispatching If we're planning on...
Hi thanks for the awesome package. I have some questions about the example: **pomodoro**. the source snippets ``` obj := cocoa.NSStatusBar_System().StatusItemWithLength(cocoa.NSVariableStatusItemLength) obj.Retain() ``` and ``` itemNext := cocoa.NSMenuItem_New() ``` they...