Compare commits
3 Commits
a94969338b
...
370a2eb604
Author | SHA1 | Date | |
---|---|---|---|
370a2eb604 | |||
9230222634 | |||
7bcd25bb05 |
|
@ -19,7 +19,7 @@ go get git.wow.st/gmp/nswrap/...
|
||||||
From your `go` source directory, type:
|
From your `go` source directory, type:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd gitlab.wow.st/gmp/nswrap/cmd/nswrap
|
cd git.wow.st/gmp/nswrap
|
||||||
go install
|
go install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ NSWrap is designed to be easy to use. To get started with an example, visit
|
||||||
your Go source directory in a terminal and enter:
|
your Go source directory in a terminal and enter:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd gitlab.wow.st/gmp/nswrap/examples/app
|
cd git.wow.st/gmp/nswrap/examples/app
|
||||||
go generate
|
go generate
|
||||||
go build
|
go build
|
||||||
./app
|
./app
|
||||||
|
@ -585,7 +585,7 @@ package main
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"runtime"
|
"runtime"
|
||||||
"gitlab.wow.st/gmp/nswrap/examples/app/ns" // point to your NSWrap output directory
|
"git.wow.st/gmp/nswrap/examples/app/ns" // point to your NSWrap output directory
|
||||||
)
|
)
|
||||||
|
|
||||||
func didFinishLaunching(n ns.NSNotification) {
|
func didFinishLaunching(n ns.NSNotification) {
|
||||||
|
|
|
@ -106,7 +106,7 @@ var (
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
queue := ns.DispatchQueueCreate(ns.CharWithGoString("st.wow.gitlab.ble"),nil)
|
queue := ns.DispatchQueueCreate(ns.CharWithGoString("my_new_queue"),nil)
|
||||||
|
|
||||||
cd = ns.CBDelegateAlloc()
|
cd = ns.CBDelegateAlloc()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user