Mercurial > projects > dstep
comparison dstep/coredata/NSEntityDescription.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 |
---|---|
22 import dstep.objc.bridge.Bridge; | 22 import dstep.objc.bridge.Bridge; |
23 import dstep.objc.objc; | 23 import dstep.objc.objc; |
24 | 24 |
25 class NSEntityDescription : NSObject, INSCoding, INSCopying, INSFastEnumeration | 25 class NSEntityDescription : NSObject, INSCoding, INSCopying, INSFastEnumeration |
26 { | 26 { |
27 mixin (ObjcWrap); | 27 mixin ObjcWrap; |
28 | |
29 this (id object) | |
30 { | |
31 super(object); | |
32 } | |
28 | 33 |
29 void encodeWithCoder (NSCoder aCoder) | 34 void encodeWithCoder (NSCoder aCoder) |
30 { | 35 { |
31 return invokeObjcSelf!(void, "encodeWithCoder:", NSCoder)(aCoder); | 36 return invokeObjcSelf!(void, "encodeWithCoder:", NSCoder)(aCoder); |
32 } | 37 } |