comparison dstep/foundation/NSURLCache.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
comparison
equal deleted inserted replaced
14:89f3c3ef1fd2 15:7ff919f595d5
113 { 113 {
114 mixin ObjcWrap; 114 mixin ObjcWrap;
115 115
116 static NSURLCache sharedURLCache () 116 static NSURLCache sharedURLCache ()
117 { 117 {
118 return invokeObjcSelfClass!(NSURLCache, "sharedURLCache"return result is this.objcObject ? this : (result !is null ? new NSURLCache(result) : null); } 118 return invokeObjcSelfClass!(NSURLCache, "sharedURLCache");
119 }
119 120
120 static void setSharedURLCache (NSURLCache cache) 121 static void setSharedURLCache (NSURLCache cache)
121 { 122 {
122 return invokeObjcSelfClass!(void, "setSharedURLCache:", NSURLCache)(cache); 123 return invokeObjcSelfClass!(void, "setSharedURLCache:", NSURLCache)(cache);
123 } 124 }