This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ExampleDelegate.h | |
// Example | |
// | |
// Created by Scott Robertson on 2/10/13. | |
// Copyright (c) 2013 Scott Robertson. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
// Do any additional setup after loading the view, typically from a nib. | |
UIButton *button = [UIButton buttonWithType:UIButtonTypeRoundedRect]; | |
button.translatesAutoresizingMaskIntoConstraints = NO; | |
[button setTitle:@"Press ME!" forState:UIControlStateNormal]; | |
UILabel *label = [[UILabel alloc] init]; | |
label.translatesAutoresizingMaskIntoConstraints = NO; | |
label.text = @"Hi Mom!"; |