Corey Farwell
59fa67d901
Run rustfmt on entire crate.
2016-11-26 14:45:27 -05:00
Rafael Barbosa
edcf333e8a
Updated the NSTabView and NSTabViewItem bindings to match the current codebase. Updated the tab_view example
2016-07-26 23:53:07 +01:00
Rafael Barbosa
3f0c4ce8e6
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
src/appkit.rs
2016-07-24 22:22:56 +01:00
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
Rafael Barbosa
1f7d210a01
Modified the tab_view example
2015-02-07 22:36:57 +00:00
Rafael Barbosa
7f9b8db9ae
added a few more methods to NSTabView and all the methods to NSTabViewItem
2015-02-01 23:23:27 +00:00
Rafael Barbosa
d298baced6
first method bindings for NSTabView and NSTabViewItem
2015-02-01 19:04:35 +00: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