Commit Graph

12 Commits

Author SHA1 Message Date
Rob Gowin d694e3b801 Delete no longer used value 2015-09-23 07:05:29 -05:00
Rob.Gowin d56b150d2d Activate the example app via NSRunningApplication
This fixes #98, at least on my Yosemite machine.
2015-09-22 22:35:20 -05:00
Steven Sheldon 89f0929acf Split a foundation mod from appkit. 2015-03-26 22:18:45 -07:00
mitchmindtree 55cae60f78 Fixed runtime error in example by removing unnecessary null terminator 2015-02-22 16:11:19 +11:00
Brendan Zabarauskas 90d66dc8a0 Use faithful BOOL type in bindings 2015-01-23 22:43:49 +11:00
Brendan Zabarauskas 274a5f9e87 Remove method traits 2014-11-11 12:18:02 +11:00
Brendan Zabarauskas 4946936733 Eliminate some warnings 2014-11-11 01:19:30 +11:00
Alex Chandel 01d8c72f32 Use autorelease in hello_world 2014-09-23 00:23:22 -04:00
Justin Grimes 86144041e5 Fixed segfaul with invoke_msg_NSPoint_NSPoint. The issue was using objc_msgSend_stret instead of objc_msgSend. 2014-09-23 00:23:22 -04:00
Alex Chandel b14fa888cf Switch class implementation to traits/impls. 2014-09-23 00:21:26 -04:00
Alex Chandel 1c0bcd8fa6 Provide NSWindow -(void)center
This is to demonstrate moving the window in hello_world.rs as an
alternative to cascadeTopLeftFromPoint.
2014-09-23 00:21:26 -04:00
Alex Chandel be0f6bd4d7 Added hello_world example, expanded appkit
This commit adds a Hello World program, which creates and displays a
minimalist Cocoa app with a Menu Bar, a Quit menu, and a Window.

It also wraps the Cocoa methods used in hello_world in static functions
in appkit, inside separate modules for different classes. Later on,
Cocoa methods could be implemented as traits on `id` if that turns out
to be easier.
2014-09-23 00:21:26 -04:00