You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 lines
774 B

//
// 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.backgroundColor = CGColorCreateGenericRGB(255.0, 255.0, 255.0, 1); //RGB plus Alpha Channel
[self.window.contentView setWantsLayer:YES]; // view's backing store is using a Core Animation Layer
(self.window.contentView).layer = 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