comparison dstep/foundation/NSUserDefaults.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
59 return NSUserDefaultsDidChangeNotification_ = new NSString(bindings.NSUserDefaultsDidChangeNotification); 59 return NSUserDefaultsDidChangeNotification_ = new NSString(bindings.NSUserDefaultsDidChangeNotification);
60 } 60 }
61 61
62 class NSUserDefaults : NSObject 62 class NSUserDefaults : NSObject
63 { 63 {
64 mixin (ObjcWrap); 64 mixin ObjcWrap;
65
66 this (id object)
67 {
68 super(object);
69 }
65 70
66 this () 71 this ()
67 { 72 {
68 super(typeof(this).alloc.init.objcObject); 73 super(typeof(this).alloc.init.objcObject);
69 } 74 }