macdriver icon indicating copy to clipboard operation
macdriver copied to clipboard

Native Mac APIs for Go. Soon to be renamed DarwinKit!

Results 62 macdriver issues
Sort by recently updated
recently updated
newest added

Helper for #49 to wrap an `Object` that will be released when it is freed by the Go garbage collector.

go run ./macos/_examples/layout/main.go Error: ``` *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Content hugging priorities must be positive.' *** First throw call stack: ( 0 CoreFoundation 0x00007ff801a4ed86 __exceptionPreprocess...

Several foundation methods take a list of objects and expect a nil to be used to terminate the list. Problem is the nil these methods want is an Objective-c nil....

Dictionary's DictionaryWithObjectsAndKeys() throws an NSInvalidArgumentException when it is used. This example program will cause an exception to be thrown when ran: ``` // Description: use Dictionary's DictionaryWithObjectsAndKeys() method package main...

In Objective-C a method's parameter can be used to return information. This information could be anything from error info to an array of objects. Because of the complexity of the...

This adds screencapturekit bindings. The example isn't fully functional. Refs #227

When I try to run example `largetext` with preview package version. *Package Version: github.com/progrium/macdriver v0.5.0-preview* ```zsh # github.com/progrium/macdriver/macos/appkit protocols.gen.m:3:9: fatal error: 'Appkit/Appkit.h' file not found ``` Env: + ARM64 CPU...