comparison dstep/foundation/NSCoder.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
224 } 224 }
225 `; 225 `;
226 226
227 class NSCoder : NSObject 227 class NSCoder : NSObject
228 { 228 {
229 mixin (ObjcWrap); 229 mixin ObjcWrap;
230
231 this (id object)
232 {
233 super(object);
234 }
230 235
231 this () 236 this ()
232 { 237 {
233 super(typeof(this).alloc.init.objcObject); 238 super(typeof(this).alloc.init.objcObject);
234 } 239 }