-
-
Save dunckr/9bc4cf60f6eb19d66945 to your computer and use it in GitHub Desktop.
CocoaScript translation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSRect frame = [[NSScreen mainScreen] frame] | |
equivalent to: | |
var frame = NSScreen.mainScreen().frame() | |
[[NSPanel alloc] initWithContentRect:frame styleMask:mask backing:NSBackingStoreBuffered defer:true]; | |
NSPanel.alloc().initWithContentRect_styleMask_backing_defer(frame, mask, NSBackingStoreBuffered, true); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment