Skip to content

Instantly share code, notes, and snippets.

@jsorge
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jsorge/7e495eab82419d10e901 to your computer and use it in GitHub Desktop.
Save jsorge/7e495eab82419d10e901 to your computer and use it in GitHub Desktop.
//
// 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
//
// 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