Re: OSX Foundation framework D binding

2015-11-12 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-11-12 09:34, ponce wrote: Opinion. I only ever got problems with bindings that aren't dynamic. For example that problem would not happen with dynamic loading. https://github.com/nomad-software/x11/issues/11 I've never encountered that problem. -- /Jacob Carlborg

Re: OSX Foundation framework D binding

2015-11-12 Thread ponce via Digitalmars-d-learn
On Wednesday, 11 November 2015 at 16:06:57 UTC, Jacob Carlborg wrote: On 2015-11-11 10:29, Daniel Kozak via Digitalmars-d-learn wrote: I find only this one: http://code.dlang.org/packages/derelict-cocoa Also, there's no point in complicate the bindings by using function pointers like this.

Re: OSX Foundation framework D binding

2015-11-12 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-11-12 06:50, Vadim Lopatin wrote: Aren't there any ready set of translated and post-processed files for main OSX foundations in some repository? Could you point at it? I have these 6 years old bindings [1] which uses an old Objective-C bridge. Perhaps it's possible to do some search-a

Re: OSX Foundation framework D binding

2015-11-11 Thread Jeremy DeHaan via Digitalmars-d-learn
On Thursday, 12 November 2015 at 05:50:09 UTC, Vadim Lopatin wrote: On Wednesday, 11 November 2015 at 16:04:44 UTC, Jacob Carlborg wrote: On 2015-11-11 17:02, Jacob Carlborg wrote: I would recommend creating new bindings which use the new Objective-C interoperability feature that was added in

Re: OSX Foundation framework D binding

2015-11-11 Thread Vadim Lopatin via Digitalmars-d-learn
On Wednesday, 11 November 2015 at 16:04:44 UTC, Jacob Carlborg wrote: On 2015-11-11 17:02, Jacob Carlborg wrote: I would recommend creating new bindings which use the new Objective-C interoperability feature that was added in the latest release (2.069.0). You could use DStep [1] to generate

Re: OSX Foundation framework D binding

2015-11-11 Thread Vadim Lopatin via Digitalmars-d-learn
On Wednesday, 11 November 2015 at 16:04:44 UTC, Jacob Carlborg wrote: On 2015-11-11 17:02, Jacob Carlborg wrote: I would recommend creating new bindings which use the new Objective-C interoperability feature that was added in the latest release (2.069.0). You could use DStep [1] to generate

Re: OSX Foundation framework D binding

2015-11-11 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-11-11 10:29, Daniel Kozak via Digitalmars-d-learn wrote: I find only this one: http://code.dlang.org/packages/derelict-cocoa Also, there's no point in complicate the bindings by using function pointers like this. -- /Jacob Carlborg

Re: OSX Foundation framework D binding

2015-11-11 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-11-11 17:02, Jacob Carlborg wrote: I would recommend creating new bindings which use the new Objective-C interoperability feature that was added in the latest release (2.069.0). You could use DStep [1] to generate the bindings. It will generate bindings which are not completely compat

Re: OSX Foundation framework D binding

2015-11-11 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-11-11 10:29, Daniel Kozak via Digitalmars-d-learn wrote: I find only this one: http://code.dlang.org/packages/derelict-cocoa I would recommend creating new bindings which use the new Objective-C interoperability feature that was added in the latest release (2.069.0). -- /Jacob Carlb

Re: OSX Foundation framework D binding

2015-11-11 Thread Vadim Lopatin via Digitalmars-d-learn
On Wednesday, 11 November 2015 at 09:29:47 UTC, Daniel Kozak wrote: V Wed, 11 Nov 2015 06:17:00 + Vadim Lopatin via Digitalmars-d-learn napsáno: Hello, I'm working on native Cocoa backend for DlangUI GUI library under OSX. Is there any ready to use bindings for easy accessing Cocoa API

Re: OSX Foundation framework D binding

2015-11-11 Thread Daniel Kozak via Digitalmars-d-learn
V Wed, 11 Nov 2015 06:17:00 + Vadim Lopatin via Digitalmars-d-learn napsáno: > Hello, > > I'm working on native Cocoa backend for DlangUI GUI library under > OSX. > Is there any ready to use bindings for easy accessing Cocoa API? > Probably, there is some HelloWorld program which creates wi

OSX Foundation framework D binding

2015-11-10 Thread Vadim Lopatin via Digitalmars-d-learn
Hello, I'm working on native Cocoa backend for DlangUI GUI library under OSX. Is there any ready to use bindings for easy accessing Cocoa API? Probably, there is some HelloWorld program which creates window and draws something? Best regards, Vadim