Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 236 Bytes

UILabel.md

File metadata and controls

14 lines (10 loc) · 236 Bytes

#UILabel

// ViewController.m

- (void)viewDidLoad
{

    UILabel *firstLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 40, 100, 20)];
    [firstLabel setText:@"Hello world!"];
    [self.view addSubview:firstLabel];

}