//
#import "ViewController.h"
@interface ViewController ()
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
// Do any additional setup after loading the view.
CGRect rect = CGRectMake(20, 100, 350, 60);
UILabel *labale = [[UILabel alloc] initWithFrame:rect];
labale.text = @"hello this is UILable";
UIFont *font = [UIFont fontWithName:@"Arial" size:30];
labale.font= font;
labale.shadowColor = [UIColor lightGrayColor];
labale.shadowOffset = CGSizeMake(2, 2);
labale.textAlignment= NSTextAlignmentRight;
labale.textColor = [UIColor purpleColor];
labale.backgroundColor = [UIColor yellowColor];
[self.view addSubview:labale];
/*
MyLable *lable = [[MyLable alloc] init];
lable.frame = CGRectMake(40, 180, 320, 120);
lable.text = @"Enter Me >";
lable.font = [UIFont fontWithName:@"Genrgia" size:82];
[self.view addSubview:lable];
self.view.backgroundColor = [UIColor purpleColor];
*/
}
@end