Skip to content

Instantly share code, notes, and snippets.

View chrisdevereux's full-sized avatar

Chris Devereux chrisdevereux

View GitHub Profile
@chrisdevereux
chrisdevereux / gist:1177004
Created August 28, 2011 18:20
Using protocols to avoid method signature mismatches on class methods
#import <Cocoa/Cocoa.h>
@protocol IdMethod
+ (id) method;
@end
@interface IdClass : NSObject <IdMethod>
@end
@implementation IdClass
.card-header {
background: #FFFFFF;
box-shadow: 0px 2px 5px rgba(102, 178, 46, 0.2);
}