View previous topic :: View next topic |
Author |
Message |
skyfex
Joined: 27 Apr 2007 Posts: 6
|
Posted: Fri Apr 27, 2007 7:22 am Post subject: Cocoa Bindings |
|
|
I'm currently looking into creating a D-Cocoa binding. At first I'm going to create bindings for the C-backend (objc_msgSend etc.), but I believe it should be possible to create a function that would evaluate as a simple Objective-C statement. For example something like:
Code: | int n = 2;
cocoa("[[MyClass alloc] initWithNumber: n]"); |
Have anyone else experimented with something like this yet? I'll post updates as I come along. |
|
Back to top |
|
|
afb
Joined: 26 Jan 2005 Posts: 137 Location: Sweden
|
|
Back to top |
|
|
skyfex
Joined: 27 Apr 2007 Posts: 6
|
Posted: Fri Apr 27, 2007 7:30 am Post subject: |
|
|
Yeah, saw it right after I posted this
I'll have a look at it. Maybe I'll continue the effort. |
|
Back to top |
|
|
|