Last active
August 29, 2015 14:23
-
-
Save jsorge/7e495eab82419d10e901 to your computer and use it in GitHub Desktop.
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
// | |
// MyViewController.h | |
// | |
// Created by Jared Sorge on 6/14/15. | |
// Copyright (c) 2015 Taphouse Software. All rights reserved. | |
// | |
#import <UIKit/UIKit.h> | |
@interface MyViewController : UIViewController | |
#pragma mark - API | |
- (void)doSomeAPI; | |
@end |
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
// | |
// MyViewController.m | |
// | |
// Created by Jared Sorge on 6/14/15. | |
// Copyright (c) 2015 Taphouse Software. All rights reserved. | |
// | |
#import "MyViewController.h" | |
@interface MyViewController () | |
@property (nonatomic, weak) IBOutlet UILabel *firstLabel; | |
@end | |
@implementation MyViewController | |
#pragma mark - API | |
- (void)doSomeAPI | |
{ | |
//Do a thing | |
} | |
#pragma mark - Lifecycle | |
- (void)viewDidLoad { | |
[super viewDidLoad]; | |
self.firstLabel.text = @"Some text"; | |
[self installFontsAndColors]; | |
} | |
#pragma mark - Private | |
- (void)installFontsAndColors | |
{ | |
self.firstLabel.textColor = [UIColor blueColor]; | |
} | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment