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