cocoa :: hello_cocoa
core :: union_find
union–find algorithm using an efficient disjoint-set data structurecocoa :: foundation
The Foundation Kit provides basic Objective-C classes and structures
# Hello world using the Cocoa framework
module hello_cocoa is example
import cocoa::foundation
# Print `"Hello world!"` to the log
fun hello_world in "ObjC" `{
@autoreleasepool {
NSLog(@"Hello World!");
}
`}
hello_world
lib/cocoa/examples/hello_cocoa.nit:17,1--29,11