//
//  Button_FunViewController.m
//  Button Fun
//
//  Created by jeff on 3/25/09.
//  Copyright Jeff LaMarche Consulting 2009. All rights reserved.
//

#import "Button_FunViewController.h"

@implementation Button_FunViewController
@synthesize statusText;

- (IBAction)buttonPressed:(id)sender
{
    NSString *title = [sender titleForState:UIControlStateNormal];
    NSString *newText = [[NSString alloc] initWithFormat:
						 @"%@ tlacitko stisknuto.", title];
    statusText.text = newText;
    [newText release];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning]; // Releases the view if it doesn't have a superview
    // Release anything that's not essential, such as cached data
}


- (void)dealloc {
	[statusText release];
    [super dealloc];
}

@end
