Skip to content

HTTPS clone URL

Subversion checkout URL

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

Cannot retrieve contributors at this time

44 lines (32 sloc) 1.0 kB
//
// TDSemiModalViewController.m
// TDSemiModal
//
// Created by Nathan Reed on 18/10/10.
// Copyright 2010 Nathan Reed. All rights reserved.
//
#import "TDSemiModalViewController.h"
@implementation TDSemiModalViewController
@synthesize coverView;
-(void)viewDidLoad {
[super viewDidLoad];
//self.coverView = [[UIView alloc] initWithFrame:[UIScreen mainScreen].applicationFrame];
self.coverView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
self.coverView.backgroundColor = UIColor.blackColor;
self.view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
self.coverView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
}
#pragma mark -
#pragma mark Memory Management
- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}
- (void)viewDidUnload {
[super viewDidUnload];
self.coverView = nil;
}
- (void)dealloc {
self.coverView = nil;
[super dealloc];
}
@end
Jump to Line
Something went wrong with that request. Please try again.