Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: ee894e3ecc
Fetching contributors…

Cannot retrieve contributors at this time

39 lines (31 sloc) 0.867 kB
//
// GHPushedViewController.m
// GHSidebarNav
//
// Created by Greg Haines on 11/29/11.
//
#import "GHPushedViewController.h"
#pragma mark Implementation
@implementation GHPushedViewController
#pragma mark -
#pragma mark Memory Management
- (id)initWithTitle:(NSString *)title {
if (self = [super initWithNibName:nil bundle:nil]) {
self.title = title;
}
return self;
}
#pragma mark -
#pragma mark UIViewController
- (void)viewDidLoad {
[super viewDidLoad];
self.view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
UIView *view = [[UIView alloc] initWithFrame:self.view.bounds];
view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
view.backgroundColor = [UIColor redColor];
[self.view addSubview:view];
}
- (void)viewDidUnload {
[super viewDidUnload];
}
@end
Jump to Line
Something went wrong with that request. Please try again.