comparison dstep/appkit/NSNib.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
42 return NSNibTopLevelObjects_ = new NSString(bindings.NSNibTopLevelObjects); 42 return NSNibTopLevelObjects_ = new NSString(bindings.NSNibTopLevelObjects);
43 } 43 }
44 44
45 class NSNib : NSObject, INSCoding 45 class NSNib : NSObject, INSCoding
46 { 46 {
47 mixin (ObjcWrap); 47 mixin ObjcWrap;
48
49 this (id object)
50 {
51 super(object);
52 }
48 53
49 this (NSCoder aDecoder) 54 this (NSCoder aDecoder)
50 { 55 {
51 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); 56 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject);
52 } 57 }