comparison dstep/coredata/NSPersistentStoreCoordinator.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
197 return NSPersistentStoreOSCompatibility_ = new NSString(bindings.NSPersistentStoreOSCompatibility); 197 return NSPersistentStoreOSCompatibility_ = new NSString(bindings.NSPersistentStoreOSCompatibility);
198 } 198 }
199 199
200 class NSPersistentStoreCoordinator : NSObject, INSLocking 200 class NSPersistentStoreCoordinator : NSObject, INSLocking
201 { 201 {
202 mixin (ObjcWrap); 202 mixin ObjcWrap;
203
204 this (id object)
205 {
206 super(object);
207 }
203 208
204 static NSDictionary registeredStoreTypes () 209 static NSDictionary registeredStoreTypes ()
205 { 210 {
206 return invokeObjcSelfClass!(NSDictionary, "registeredStoreTypes"); 211 return invokeObjcSelfClass!(NSDictionary, "registeredStoreTypes");
207 } 212 }