comparison dstep/foundation/NSProxy.d @ 25:b9de51448c6b

Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
author Jacob Carlborg <doob@me.com>
date Tue, 06 Apr 2010 11:37:27 +0200
parents 19885b43130e
children
comparison
equal deleted inserted replaced
24:ab33fc0c3fc1 25:b9de51448c6b
17 import dstep.objc.objc; 17 import dstep.objc.objc;
18 import dstep.objc.runtime; 18 import dstep.objc.runtime;
19 19
20 class NSProxy : ObjcWrapper, INSObject 20 class NSProxy : ObjcWrapper, INSObject
21 { 21 {
22 mixin (ObjcWrap); 22 mixin ObjcWrap;
23
24 this (id object)
25 {
26 super(object);
27 }
23 28
24 this () 29 this ()
25 { 30 {
26 super(typeof(this).alloc.init.objcObject); 31 super(typeof(this).alloc.init.objcObject);
27 } 32 }