Skip to content

Instantly share code, notes, and snippets.

View AtomicCat's full-sized avatar

Dave Camp AtomicCat

  • Forest Grove, or
View GitHub Profile
//
// SDMacros.h
// walmart
//
// Created by Brandon Sneed on 7/11/13.
// Copyright (c) 2013 Walmart. All rights reserved.
//
/**
The __deprecated__ macro saves a little bit of typing around marking classes and methods as deprecated.
@AtomicCat
AtomicCat / UIView+FrameAdditions.h
Created August 22, 2012 17:08 — forked from nfarina/UIView+FrameAdditions.h
UIView Frame helper getter/setter category methods
#import <UIKit/UIKit.h>
@interface UIView (SMFrameAdditions)
@property (nonatomic, assign) CGPoint $origin;
@property (nonatomic, assign) CGSize $size;
@property (nonatomic, assign) CGFloat $x, $y, $width, $height; // normal rect properties
@property (nonatomic, assign) CGFloat $left, $top, $right, $bottom; // these will stretch the rect
@end