Mercurial > projects > dstep
comparison dstep/coredata/NSEntityMigrationPolicy.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 |
---|---|
68 return NSMigrationPropertyMappingKey_ = new NSString(bindings.NSMigrationPropertyMappingKey); | 68 return NSMigrationPropertyMappingKey_ = new NSString(bindings.NSMigrationPropertyMappingKey); |
69 } | 69 } |
70 | 70 |
71 class NSEntityMigrationPolicy : NSObject | 71 class NSEntityMigrationPolicy : NSObject |
72 { | 72 { |
73 mixin (ObjcWrap); | 73 mixin ObjcWrap; |
74 | |
75 this (id object) | |
76 { | |
77 super(object); | |
78 } | |
74 | 79 |
75 bool beginEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, ref NSError error) | 80 bool beginEntityMapping (NSEntityMapping mapping, NSMigrationManager manager, ref NSError error) |
76 { | 81 { |
77 id __arg2; | 82 id __arg2; |
78 | 83 |