Browse files

KSWORKSPACETHREADPROXY macro

  • Loading branch information...
1 parent 906e1dd commit 8860e990d1db6776cb0ef36b45fae24529cb3528 @mikeabdullah mikeabdullah committed Jul 5, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 KSThreadProxy.h
View
2 KSThreadProxy.h
@@ -47,3 +47,5 @@
@end
+// Just for fun, a macro that gives you a proxy to NSWorkspace on the main thread
+#define KSWORKSPACETHREADPROXY [[[NSWorkspace ks_proxyOnThread:nil] sharedWorkspace] ks_proxyOnThread:nil]

0 comments on commit 8860e99

Please sign in to comment.