Skip to content

Instantly share code, notes, and snippets.

@nightfall708
nightfall708 / UIView+QuickSize
Created June 24, 2013 08:17
Maybe the most useful Obj-c category I ever made...
@interface UIView (QuickSize)
- (CGFloat)width;
- (CGFloat)height;
- (CGFloat)x;
- (CGFloat)y;
@end
@implementation UIView (QuickSize)