// // CLMainWindowController.m // Clocker // // Created by Abhishek Banthia on 2/7/16. // // #import "CLMainWindowController.h" @interface CLMainWindowController () @end @implementation CLMainWindowController - (void)windowDidLoad { [super windowDidLoad]; CALayer *viewLayer = [CALayer layer]; [viewLayer setBackgroundColor:CGColorCreateGenericRGB(255.0, 255.0, 255.0, 0.8)]; //RGB plus Alpha Channel [self.window.contentView setWantsLayer:YES]; // view's backing store is using a Core Animation Layer [self.window.contentView setLayer:viewLayer]; self.window.titlebarAppearsTransparent = YES; // Implement this method to handle any initialization after your window controller's window has been loaded from its nib file. } @end