# limitations under the License.
# Simple message box using the Cocoa framework
-module cocoa_message_box
+module cocoa_message_box is example
import cocoa
in "ObjC" `{
- #import <Cocoa/Cocoa.h>
+ #import <AppKit/AppKit.h>
`}
-fun dialog in "ObjC" `{
+private fun dialog in "ObjC" `{
NSAlert *alert = [[[NSAlert alloc] init] autorelease];
[alert setMessageText:@"Hello world!"];
[alert runModal];