apple

package module
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2026 License: MIT Imports: 0 Imported by: 0

README

apple

Go Reference

Go bindings for Apple platform frameworks. These bindings are cgo-free, using purego for dynamic function loading at runtime.

Auto-generated from Apple developer documentation via applegen.

Private frameworks

Bindings under the private/ directory wrap undocumented Apple frameworks. These APIs are unstable, may change or disappear between OS releases, and carry no compatibility guarantees.

Disclaimer

This is not an official Apple product. Apple, macOS, and all related frameworks are trademarks of Apple Inc. This project is an independent, community-driven effort and is not affiliated with, endorsed by, or sponsored by Apple Inc.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package accelerate provides Go bindings for the Accelerate framework.
Package accelerate provides Go bindings for the Accelerate framework.
Package appkit provides Go bindings for the AppKit framework.
Package appkit provides Go bindings for the AppKit framework.
Package corefoundation provides Go bindings for the CoreFoundation framework.
Package corefoundation provides Go bindings for the CoreFoundation framework.
Package coregraphics provides Go bindings for the CoreGraphics framework.
Package coregraphics provides Go bindings for the CoreGraphics framework.
Package coreimage provides Go bindings for the CoreImage framework.
Package coreimage provides Go bindings for the CoreImage framework.
Package coreml provides Go bindings for the CoreML framework.
Package coreml provides Go bindings for the CoreML framework.
Package corevideo provides Go bindings for the CoreVideo framework.
Package corevideo provides Go bindings for the CoreVideo framework.
Package dispatch provides Go bindings for the Dispatch framework.
Package dispatch provides Go bindings for the Dispatch framework.
examples
accelerate/matmul command
Command matmul benchmarks matrix multiplication using Apple Accelerate BLAS (cblas_sgemm) versus a naive pure-Go implementation.
Command matmul benchmarks matrix multiplication using Apple Accelerate BLAS (cblas_sgemm) versus a naive pure-Go implementation.
appkit/alert command
Alert shows a native macOS alert dialog from the command line.
Alert shows a native macOS alert dialog from the command line.
appkit/alert-dialog command
Alert-dialog shows a modal NSAlert with two buttons and prints which was clicked.
Alert-dialog shows a modal NSAlert with two buttons and prints which was clicked.
appkit/counter command
Counter displays a window with a count label and buttons to increment or reset.
Counter displays a window with a count label and buttons to increment or reset.
appkit/file-picker command
File-picker opens an NSOpenPanel and prints the selected file paths.
File-picker opens an NSOpenPanel and prints the selected file paths.
appkit/hello-window command
Hello-window opens a macOS window displaying "Hello from Go!" in large text.
Hello-window opens a macOS window displaying "Hello from Go!" in large text.
appkit/menubar-clock command
Menubar-clock shows the current time in the macOS menu bar, updating every second.
Menubar-clock shows the current time in the macOS menu bar, updating every second.
appkit/pbd command
Pbd is a pasteboard tool, an improvement over pbcopy/pbpaste.
Pbd is a pasteboard tool, an improvement over pbcopy/pbpaste.
appkit/sf-symbols command
SF-symbols displays a grid of SF Symbols with various configurations.
SF-symbols displays a grid of SF Symbols with various configurations.
appkit/todo-app command
Todo-app is a multi-window todo list built entirely in Go.
Todo-app is a multi-window todo list built entirely in Go.
coreimage/imgfilter command
Command imgfilter processes images using Apple's CoreImage framework.
Command imgfilter processes images using Apple's CoreImage framework.
coreml/predict command
Command predict loads a CoreML model and prints its description as JSON.
Command predict loads a CoreML model and prints its description as JSON.
dispatch/parallel-work command
Parallel-work dispatches concurrent tasks using GCD groups and semaphores.
Parallel-work dispatches concurrent tasks using GCD groups and semaphores.
dispatch/queues command
foundation/nsdefaults command
Command nsdefaults reads and writes NSUserDefaults values.
Command nsdefaults reads and writes NSUserDefaults values.
foundation/sysinfo command
Command sysinfo prints system information and optionally lists running applications.
Command sysinfo prints system information and optionally lists running applications.
metal/metal4-triangle command
metal4-triangle renders a rotating triangle using the Metal 4 API.
metal4-triangle renders a rotating triangle using the Metal 4 API.
naturallanguage/embedding command
Command embedding computes word distances and nearest neighbors using Apple's NaturalLanguage word embeddings.
Command embedding computes word distances and nearest neighbors using Apple's NaturalLanguage word embeddings.
naturallanguage/ngrep command
Command ngrep searches lines for semantic similarity to a query using Apple's NaturalLanguage embeddings — a neural alternative to grep.
Command ngrep searches lines for semantic similarity to a query using Apple's NaturalLanguage embeddings — a neural alternative to grep.
naturallanguage/nlp command
Command nlp provides Unix-native text analysis using Apple's NaturalLanguage framework.
Command nlp provides Unix-native text analysis using Apple's NaturalLanguage framework.
naturallanguage/nsort command
Command nsort sorts lines by semantic similarity using Apple's NaturalLanguage sentence embeddings — a neural alternative to Unix sort.
Command nsort sorts lines by semantic similarity using Apple's NaturalLanguage sentence embeddings — a neural alternative to Unix sort.
objc/exception-handler command
Exception-handler demonstrates Objective-C exception handling from Go.
Exception-handler demonstrates Objective-C exception handling from Go.
screencapturekit/screenshot command
Command screenshot captures a screenshot of a display or window using the ScreenCaptureKit framework and saves it as a PNG file.
Command screenshot captures a screenshot of a display or window using the ScreenCaptureKit framework and saves it as a PNG file.
screencapturekit/windowlist command
Command windowlist enumerates all windows, displays, and running applications using the ScreenCaptureKit framework and outputs the results as JSON.
Command windowlist enumerates all windows, displays, and running applications using the ScreenCaptureKit framework and outputs the results as JSON.
security/keychain command
Command keychain demonstrates macOS Security framework keychain operations using the generated security and corefoundation bindings.
Command keychain demonstrates macOS Security framework keychain operations using the generated security and corefoundation bindings.
uniformtypeidentifiers/typeid command
Command typeid resolves Uniform Type Identifiers for file extensions, MIME types, and UTI strings.
Command typeid resolves Uniform Type Identifiers for file extensions, MIME types, and UTI strings.
virtualization/vminfo command
Command vminfo queries Apple Virtualization framework capabilities.
Command vminfo queries Apple Virtualization framework capabilities.
vision/face-detect command
Face-detect uses the Vision framework to detect faces in an image.
Face-detect uses the Vision framework to detect faces in an image.
vision/ocr command
Command ocr extracts text from an image file using the Vision framework.
Command ocr extracts text from an image file using the Vision framework.
vision/screenctx command
Command screenctx captures screen context by combining CGWindowListCopyWindowInfo with Vision OCR to produce an XML map of on-screen text attributed to the owning application.
Command screenctx captures screen context by combining CGWindowListCopyWindowInfo with Vision OCR to produce an XML map of on-screen text attributed to the owning application.
vision/vndetect command
Command vndetect detects objects in images using the Vision framework.
Command vndetect detects objects in images using the Vision framework.
vision/vnocr command
Command vnocr extracts text from images using the Vision framework.
Command vnocr extracts text from images using the Vision framework.
Package foundation provides Go bindings for the Foundation framework.
Package foundation provides Go bindings for the Foundation framework.
Package iosurface provides Go bindings for the IOSurface framework.
Package iosurface provides Go bindings for the IOSurface framework.
Package metal provides Go bindings for the Metal framework.
Package metal provides Go bindings for the Metal framework.
Package metalkit provides Go bindings for the MetalKit framework.
Package metalkit provides Go bindings for the MetalKit framework.
Package naturallanguage provides Go bindings for the NaturalLanguage framework.
Package naturallanguage provides Go bindings for the NaturalLanguage framework.
Package objc provides cached Objective-C runtime helpers.
Package objc provides cached Objective-C runtime helpers.
Package objectivec provides Go bindings for the ObjectiveC framework.
Package objectivec provides Go bindings for the ObjectiveC framework.
Package private contains the generated code for the private frameworks of Apple MacOS.
Package private contains the generated code for the private frameworks of Apple MacOS.
appleneuralengine
Package appleneuralengine provides Go bindings for the appleneuralengine framework.
Package appleneuralengine provides Go bindings for the appleneuralengine framework.
diskimages2
Package diskimages2 provides Go bindings for the diskimages2 framework.
Package diskimages2 provides Go bindings for the diskimages2 framework.
espresso
Package espresso provides Go bindings for the espresso framework.
Package espresso provides Go bindings for the espresso framework.
hiservices
Package hiservices provides Go bindings for the hiservices framework.
Package hiservices provides Go bindings for the hiservices framework.
mlruntime
Package mlruntime provides Go bindings for the mlruntime framework.
Package mlruntime provides Go bindings for the mlruntime framework.
remotecoreml
Package remotecoreml provides Go bindings for the remotecoreml framework.
Package remotecoreml provides Go bindings for the remotecoreml framework.
xcode
Package xcode contains generated bindings for private frameworks shipped inside Xcode.app and its plug-ins.
Package xcode contains generated bindings for private frameworks shipped inside Xcode.app and its plug-ins.
xcode/gtshaderprofiler
Package gtshaderprofiler provides Go bindings for the gtshaderprofiler framework.
Package gtshaderprofiler provides Go bindings for the gtshaderprofiler framework.
Package quartzcore provides Go bindings for the QuartzCore framework.
Package quartzcore provides Go bindings for the QuartzCore framework.
Package screencapturekit provides Go bindings for the ScreenCaptureKit framework.
Package screencapturekit provides Go bindings for the ScreenCaptureKit framework.
Package security provides Go bindings for the Security framework.
Package security provides Go bindings for the Security framework.
Package symbols provides Go bindings for the Symbols framework.
Package symbols provides Go bindings for the Symbols framework.
Package uniformtypeidentifiers provides Go bindings for the UniformTypeIdentifiers framework.
Package uniformtypeidentifiers provides Go bindings for the UniformTypeIdentifiers framework.
Package virtualization provides Go bindings for the Virtualization framework.
Package virtualization provides Go bindings for the Virtualization framework.
Package vision provides Go bindings for the Vision framework.
Package vision provides Go bindings for the Vision framework.
Package vmnet provides Go bindings for the vmnet framework.
Package vmnet provides Go bindings for the vmnet framework.
x
ane
Package ane provides high-level access to the Apple Neural Engine.
Package ane provides high-level access to the Apple Neural Engine.
ane/dynamicmatmul
Package dynamicmatmul provides compile-once ANE matmul kernels with runtime-provided weights.
Package dynamicmatmul provides compile-once ANE matmul kernels with runtime-provided weights.
ane/linear
Package linear provides reusable ANE-backed linear forward execution.
Package linear provides reusable ANE-backed linear forward execution.
ane/mil
Package mil generates MIL (Model Intermediate Language) programs and weight blobs for Apple Neural Engine compilation.
Package mil generates MIL (Model Intermediate Language) programs and weight blobs for Apple Neural Engine compilation.
ane/telemetry
Package telemetry provides diagnostic and performance measurement types for the Apple Neural Engine.
Package telemetry provides diagnostic and performance measurement types for the Apple Neural Engine.
axscripttest
Package axscripttest provides an rsc.io/script bridge for macOS UI automation testing using the axuiautomation package.
Package axscripttest provides an rsc.io/script bridge for macOS UI automation testing using the axuiautomation package.
axuiautomation
Package axuiautomation provides XCUIAutomation-style interfaces for macOS accessibility automation.
Package axuiautomation provides XCUIAutomation-style interfaces for macOS accessibility automation.
coremlcompiler
Package coremlcompiler compiles CoreML model packages (.mlpackage) into compiled model bundles (.mlmodelc) without requiring xcrun or Apple's proprietary coremlcompiler binary.
Package coremlcompiler compiles CoreML model packages (.mlpackage) into compiled model bundles (.mlmodelc) without requiring xcrun or Apple's proprietary coremlcompiler binary.
espresso
Package espresso provides high-level access to Apple's Espresso neural network execution framework with multi-backend support (CPU, GPU, ANE).
Package espresso provides high-level access to Apple's Espresso neural network execution framework with multi-backend support (CPU, GPU, ANE).
plist
Package plist provides plist parsing and writing for Apple configuration files.
Package plist provides plist parsing and writing for Apple configuration files.
vzkit
Package vzkit provides shared infrastructure for building macOS and Linux virtual machines using Apple's Virtualization framework via purego.
Package vzkit provides shared infrastructure for building macOS and Linux virtual machines using Apple's Virtualization framework via purego.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL