#import <UIKit/UIKit.h>

@interface DemoViewController : UIViewController
{
}

@property (nonatomic , retain) NSNumber *number;

- (IBAction)touchUpInsideButton:(id)sender;

@end


#define MAX_RANGE	1000

@implementation DemoViewController

@synthesize number;

- (IBAction)touchUpInsideButton:(id)sender
{
	NSNumber *num = [NSNumber numberWithInteger:rand() % MAX_RANGE];
	number = num;
}

@end
