Mercurial > projects > dstep
diff dstep/foundation/NSURL.d @ 15:7ff919f595d5
Added the Foundation framework, again
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Mon, 03 Aug 2009 15:31:48 +0200 |
parents | 89f3c3ef1fd2 |
children | 19885b43130e |
line wrap: on
line diff
--- a/dstep/foundation/NSURL.d Mon Aug 03 15:23:15 2009 +0200 +++ b/dstep/foundation/NSURL.d Mon Aug 03 15:31:48 2009 +0200 @@ -141,11 +141,15 @@ NSURL baseURL () { - id result = invokeObjcSelf!(id, "baseURL"return result is this.objcObject ? this : (result !is null ? new NSURL(result) : null); } + id result = invokeObjcSelf!(id, "baseURL"); + return result is this.objcObject ? this : (result !is null ? new NSURL(result) : null); + } NSURL absoluteURL () { - id result = invokeObjcSelf!(id, "absoluteURL"return result is this.objcObject ? this : (result !is null ? new NSURL(result) : null); } + id result = invokeObjcSelf!(id, "absoluteURL"); + return result is this.objcObject ? this : (result !is null ? new NSURL(result) : null); + } NSString scheme () { @@ -209,7 +213,9 @@ NSURL standardizedURL () { - id result = invokeObjcSelf!(id, "standardizedURL"return result is this.objcObject ? this : (result !is null ? new NSURL(result) : null); } + id result = invokeObjcSelf!(id, "standardizedURL"); + return result is this.objcObject ? this : (result !is null ? new NSURL(result) : null); + } void encodeWithCoder (NSCoder aCoder) {