//
//  BaseCustom.m
//  Nicola Smyth
//
//  Created by Nguyen Hieu on 1/22/13.
//
//

#import "BaseCustom.h"
#import "Utility.h"


@implementation BaseCustom

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
    }
    return self;
}

-(void) viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    
    [self.navigationController setNavigationBarHidden:YES animated:NO];
}


- (void)viewDidLoad
{
    [super viewDidLoad];
    
    //delegate = delegat;
    
    tvHeader = [[CustomTextContact alloc] initWithFrame:CGRectMake(30, 8, 80, 30)];
    [tvHeader setEditable:NO];
    [tvHeader setBackgroundColor:[UIColor clearColor]];
    [tvHeader setTextColor:[UIColor whiteColor]];
    [self.view addSubview:tvHeader];
}




- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
@end
