Improve type handling for enums. Handle "__kindof" qualifiers.
Add examples/app. Allow VisibilityAttr "Hidden".
This commit is contained in:
@@ -12,7 +12,8 @@ func main() {
|
||||
c1 := n1.CapitalizedString()
|
||||
gs := c1.UTF8String().String()
|
||||
fmt.Println(gs)
|
||||
n2 := ns.NSStringWithGoString("hi world")
|
||||
n2 := ns.NSStringAlloc()
|
||||
n2 = n2.InitWithGoString("hi world")
|
||||
n3 := ns.NSStringWithGoString("ok bye")
|
||||
a := ns.NSMutableArrayWithObjects(n1,n2,n3)
|
||||
fmt.Println("Length(a) = ",a.Count())
|
||||
|
||||
@@ -20,6 +20,7 @@ Functions = [
|
||||
"NSMakeRange",
|
||||
]
|
||||
Enums = [
|
||||
"P_ALL",
|
||||
"CF.*",
|
||||
]
|
||||
Frameworks = [ "Foundation" ]
|
||||
|
||||
Reference in New Issue
Block a user