NewsBlur/media/ios/Classes/FeedDashboardViewController.m

53 lines
1.1 KiB
Mathematica
Raw Normal View History

2012-06-20 09:32:55 -07:00
//
// FeedDashboardViewController.m
// NewsBlur
//
// Created by Roy Yang on 6/20/12.
// Copyright (c) 2012 NewsBlur. All rights reserved.
//
#import "FeedDashboardViewController.h"
#import "NewsBlurAppDelegate.h"
@implementation FeedDashboardViewController
@synthesize appDelegate;
2012-07-19 11:26:17 -07:00
@synthesize storyLabel;
2012-06-20 09:32:55 -07:00
- (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.
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
self.navigationItem.hidesBackButton = YES;
}
2012-06-20 09:32:55 -07:00
}
- (void)viewDidUnload
{
[super viewDidUnload];
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
}
2012-07-19 11:26:17 -07:00
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
2012-06-20 09:32:55 -07:00
return YES;
}
2012-07-19 11:26:17 -07:00
- (void)viewWillAppear:(BOOL)animated {
self.storyLabel.hidden = YES;
2012-06-20 09:32:55 -07:00
}
@end