Skip to content

Instantly share code, notes, and snippets.

@jen2
Last active May 7, 2017 14:15
Show Gist options
  • Save jen2/e68089130740e5b0059d70b0e75e05db to your computer and use it in GitHub Desktop.
Save jen2/e68089130740e5b0059d70b0e75e05db to your computer and use it in GitHub Desktop.
Initial ViewController.m Set Up for "Build a World Clock in Objective-C."
//ViewController.m
#import "ViewController.h"
@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIButton *NYC;
@property (weak, nonatomic) IBOutlet UIButton *paris;
@property (weak, nonatomic) IBOutlet UIButton *moscow;
@property (weak, nonatomic) IBOutlet UIButton *hongKong;
@property (weak, nonatomic) IBOutlet UIButton *honolulu;
@property (weak, nonatomic) IBOutlet UIButton *seattle;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *dateLabel;
@end
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
}
-(IBAction)cityButtonTapped:(UIButton *)sender {
}
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment