Skip to content

Instantly share code, notes, and snippets.

@LazyClutch
Created April 25, 2016 02:41
Show Gist options
  • Save LazyClutch/54b08d05b51903eb2ec79544c1da13db to your computer and use it in GitHub Desktop.
Save LazyClutch/54b08d05b51903eb2ec79544c1da13db to your computer and use it in GitHub Desktop.
My UIView Template
//
// ___FILENAME___
// ___PROJECTNAME___
//
// Created by ___FULLUSERNAME___ on ___DATE___.
//___COPYRIGHT___
//
#import "___FILEBASENAME___.h"
#import <Masonry/Masonry.h>
@interface ___FILEBASENAMEASIDENTIFIER___ ()
@end
@implementation ___FILEBASENAMEASIDENTIFIER___
- (instancetype)initWithFrame:(CGRect)frame
{
self = [super initWithFrame:frame];
if (self) {
[self setupViewsAndConstraints];
}
return self;
}
#pragma mark - event response -
#pragma mark - delegate -
#pragma mark - private -
- (void)setupViewsAndConstraints
{
}
#pragma mark - getter -
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment