Mercurial > projects > dstep
comparison dstep/quartzcore/CIVector.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 |
---|---|
14 import dstep.objc.bridge.Bridge; | 14 import dstep.objc.bridge.Bridge; |
15 import dstep.objc.objc; | 15 import dstep.objc.objc; |
16 | 16 |
17 class CIVector : NSObject, INSCopying, INSCoding | 17 class CIVector : NSObject, INSCopying, INSCoding |
18 { | 18 { |
19 mixin (ObjcWrap); | 19 mixin ObjcWrap; |
20 | |
21 this (id object) | |
22 { | |
23 super(object); | |
24 } | |
20 | 25 |
21 this (NSCoder aDecoder) | 26 this (NSCoder aDecoder) |
22 { | 27 { |
23 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); | 28 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); |
24 } | 29 } |