Skip to content

Instantly share code, notes, and snippets.

@ehuynh
ehuynh / .gitignore
Last active October 1, 2015 18:08
gitignore for xcode project
# Exclude the build directory
build/*
# Exclude temp nibs and swap files
*~.nib
*.swp
# Exclude OS X folder attributes
.DS_Store
@ehuynh
ehuynh / UILabel+VerticalAlign.h
Created February 29, 2012 02:01
Resizes the height of a UILabel so that the contain appears vertically align.
#import <UIKit/UIKit.h>
@interface UILabel (VerticalAlign)
- (void)alignTop;
@end