mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
52 lines
1,015 B
Mathematica
52 lines
1,015 B
Mathematica
![]() |
//
|
||
|
// ShareViewController.m
|
||
|
// NewsBlur
|
||
|
//
|
||
|
// Created by Roy Yang on 6/21/12.
|
||
|
// Copyright (c) 2012 NewsBlur. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import "ShareViewController.h"
|
||
|
#import "NewsBlurAppDelegate.h"
|
||
|
|
||
|
@implementation ShareViewController
|
||
|
|
||
|
@synthesize appDelegate;
|
||
|
|
||
|
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
|
||
|
{
|
||
|
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
|
||
|
if (self) {
|
||
|
// Custom initialization
|
||
|
}
|
||
|
return self;
|
||
|
}
|
||
|
|
||
|
- (void)viewDidLoad
|
||
|
{
|
||
|
[super viewDidLoad];
|
||
|
// Do any additional setup after loading the view from its nib.
|
||
|
}
|
||
|
|
||
|
- (void)viewDidUnload
|
||
|
{
|
||
|
[super viewDidUnload];
|
||
|
// Release any retained subviews of the main view.
|
||
|
// e.g. self.myOutlet = nil;
|
||
|
}
|
||
|
|
||
|
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
|
||
|
{
|
||
|
return YES;
|
||
|
}
|
||
|
|
||
|
- (void)dealloc {
|
||
|
[appDelegate release];
|
||
|
[super dealloc];
|
||
|
}
|
||
|
|
||
|
- (IBAction)doCancelButton:(id)sender {
|
||
|
[appDelegate hideShareView];
|
||
|
}
|
||
|
@end
|