NSDictionary *opts = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithBool:YES], NSFullScreenModeAllScreens, nil];NSView *view = [window contentView];[view enterFullScreenMode:[NSScreen mainScreen] withOptions:opts];
NSDictionary *opts = [NSDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithBool:YES], NSFullScreenModeAllScreens, nil];NSView *view = [window contentView];[view enterFullScreenMode:[NSScreen mainScreen] withOptions:opts];NSRect frame = [view.window frame];frame.size.width *= 2;[view.window setContentSize:frame.size];
Objective-CNSDictionary *opts = @{NSFullScreenModeAllScreens: @YES};