comparison dstep/foundation/NSRunLoop.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
32 mixin TNSOrderedPerform; 32 mixin TNSOrderedPerform;
33 mixin TNSRunLoopConveniences; 33 mixin TNSRunLoopConveniences;
34 34
35 static NSRunLoop currentRunLoop () 35 static NSRunLoop currentRunLoop ()
36 { 36 {
37 return invokeObjcSelfClass!(NSRunLoop, "currentRunLoop"return result is this.objcObject ? this : (result !is null ? new NSRunLoop(result) : null); } 37 return invokeObjcSelfClass!(NSRunLoop, "currentRunLoop");
38 }
38 39
39 static NSRunLoop mainRunLoop () 40 static NSRunLoop mainRunLoop ()
40 { 41 {
41 return invokeObjcSelfClass!(NSRunLoop, "mainRunLoop"return result is this.objcObject ? this : (result !is null ? new NSRunLoop(result) : null); } 42 return invokeObjcSelfClass!(NSRunLoop, "mainRunLoop");
43 }
42 44
43 NSString currentMode () 45 NSString currentMode ()
44 { 46 {
45 return invokeObjcSelf!(NSString, "currentMode"); 47 return invokeObjcSelf!(NSString, "currentMode");
46 } 48 }