Skip to content

Instantly share code, notes, and snippets.

@spacedrabbit
Created December 9, 2014 03:28
Show Gist options
  • Save spacedrabbit/a8ee2017c9c6945b5a69 to your computer and use it in GitHub Desktop.
Save spacedrabbit/a8ee2017c9c6945b5a69 to your computer and use it in GitHub Desktop.
#import "LDTHomeCatViewController.h"
#import "CatGridView.h"
@interface LDTHomeCatViewController ()
@end
@implementation LDTHomeCatViewController
- (void)viewDidLoad {
[super viewDidLoad];
[self.view setBackgroundColor:[UIColor lightGrayColor]];
CatGridView *catGrid = [[CatGridView alloc] initWithFrame:[UIScreen mainScreen].bounds];
[self.view addSubview:catGrid];
}
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
// Dispose of any resources that can be recreated.
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment