comparison dstep/foundation/NSObject.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 f8a3b67adfcb
children
comparison
equal deleted inserted replaced
24:ab33fc0c3fc1 25:b9de51448c6b
143 //mixin ObjcBindMethod!(awakeAfterUsingCoder, "awakeAfterUsingCoder:"); 143 //mixin ObjcBindMethod!(awakeAfterUsingCoder, "awakeAfterUsingCoder:");
144 `; 144 `;
145 145
146 class NSObject : ObjcWrapper, INSObject 146 class NSObject : ObjcWrapper, INSObject
147 { 147 {
148 mixin (ObjcWrap); 148 mixin ObjcWrap;
149
150 this (id object)
151 {
152 super(object);
153 }
149 154
150 this () 155 this ()
151 { 156 {
152 super(NSObject.alloc.init.objcObject); 157 super(NSObject.alloc.init.objcObject);
153 } 158 }