Documentation
¶
Overview ¶
Native-module is an app of native UI that calls native modules, Go interfaces implemented in Swift: package language in modules/language, with Apple's NaturalLanguage framework, tells the language and the sentences of the text typed; package places in modules/places shows a map of MapKit, a view of the platform, in the window, and the system's share menu.
go run ./cmd/golet dev examples/native-module
golet dev and golet build generate the modules and build their Swift packages into the app (see docs/native-modules.md).
Directories
¶
| Path | Synopsis |
|---|---|
|
modules
|
|
|
language
Package language is a native module: natural language processing with Apple's NaturalLanguage framework, behind Go interfaces.
|
Package language is a native module: natural language processing with Apple's NaturalLanguage framework, behind Go interfaces. |
|
motion
Package motion is a native module drawing into a texture on the GPU: frames of an animation, made with Core Graphics in pixel buffers backed by IOSurfaces, which native UI shows as any image, with no copy.
|
Package motion is a native module drawing into a texture on the GPU: frames of an animation, made with Core Graphics in pixel buffers backed by IOSurfaces, which native UI shows as any image, with no copy. |
|
places
Package places is a native module of views: a map of the platform shown in native UI, and the system's share menu, anchored to what the window shows.
|
Package places is a native module of views: a map of the platform shown in native UI, and the system's share menu, anchored to what the window shows. |