diff dstep/appkit/NSDictionaryController.d @ 22:f8a3b67adfcb

Removed duplicated methods
author Jacob Carlborg <doob@me.com>
date Tue, 09 Feb 2010 18:02:03 +0100
parents 19885b43130e
children b9de51448c6b
line wrap: on
line diff
--- a/dstep/appkit/NSDictionaryController.d	Wed Feb 03 18:28:58 2010 +0100
+++ b/dstep/appkit/NSDictionaryController.d	Tue Feb 09 18:02:03 2010 +0100
@@ -17,7 +17,7 @@
 {
 	mixin (ObjcWrap);
 
-	Object newObject ()
+	NSDictionaryController newObject ()
 	{
 		return invokeObjcSelf!(Object, "newObject");
 	}
@@ -35,7 +35,7 @@
 
 	this ()
 	{
-		super(NSDictionaryController.alloc.initialKey.objcObject);
+		super(NSDictionaryController.alloc.newObject.objcObject);
 	}
 
 	void setInitialValue (Object value)
@@ -49,11 +49,6 @@
 		return result is this.objcObject ? this : (result !is null ? new NSDictionaryController(result) : null);
 	}
 
-	this ()
-	{
-		super(NSDictionaryController.alloc.initialValue.objcObject);
-	}
-
 	void setIncludedKeys (NSArray keys)
 	{
 		return invokeObjcSelf!(void, "setIncludedKeys:", NSArray)(keys);