On 2015-07-14 18:53:31 +, Jacob Carlborg d...@me.com said:
Hmm, I see. I imagined something similar would need to be done for the
new exception handling in Swift 2, but for every method, that was
unexpected. Now when Swift goes open source someone can just have a
look and see what's going
On 2015-07-14 13:59:51 +, Jacob Carlborg d...@me.com said:
On 2015-07-14 03:11, Michel Fortin wrote:
More or less. If you define an `extern (Objective-C)` class in D (once
all my work is merged), you can use it and derive from it in Swift. If
you define an `@objc` class in Swift you can
On 2015-07-13 14:02:54 +, Steven Schveighoffer schvei...@yahoo.com said:
I wanted to ask, swift can call into objective-C, so does this de-facto
give us a D/swift binding as well? I haven't written a single line of
swift yet, so apologies if this is a stupid question.
More or less. If
On 2014-11-18 09:07:10 +, Christian Schneider said:
This is what I came up with so far:
override KeyboardView initWithFrame(NSRect frame) [initWithFrame:] {
//my stuff
return cast(KeyboardView) super.initWithFrame(frame) ;
}
Why not use a constructor and let the compiler manage
On 2014-11-04 09:07:08 +, Christian Schneider
schnei...@gerzonic.net said:
Ok, some more info:
I changed the mapping in tableview.d to:
void setDoubleAction(void __selector(ObjcObject))
[setDoubleAction:] ;
That's indeed the best way to do it.
This should be the way to do it. Now in
On 2014-11-01 10:47:54 +, Jacob Carlborg d...@me.com said:
On 2014-11-01 01:58, Michel Fortin wrote:
That said, there are other parts of D/Objective-C that could pose
difficulties to existing languages tools, some syntactic (__selector, or
this.class to get the metaclass)
this.class
On 2014-10-30 07:13:08 +, Jacob Carlborg d...@me.com said:
I had a look at your fix. I see that you added a call to release in
the destructor. Just for the record, there's no guarantee that the
destructor of a GC allocated object gets run, at all.
D/Objective-C never allocates
On 2014-10-30 09:16:34 +, Martin Nowak c...@dawg.eu said:
On Tuesday, 11 March 2014 at 18:23:08 UTC, Jacob Carlborg wrote:
A DIP is available here [1] and the latest implementation is available
here [2].
[1] http://wiki.dlang.org/DIP43
Instead of adding the selector syntaxsyntax you