Skip to content

Instantly share code, notes, and snippets.

View anthonyherron's full-sized avatar

Anthony Herron anthonyherron

View GitHub Profile
@anthonyherron
anthonyherron / UILabelStrikethrough.h
Created September 9, 2012 21:48 — forked from mikaelbartlett/UILabelStrikethrough.h
Simple class for IOS SDK UILabel with strikethrough
@interface UILabelStrikethrough : UILabel {
int xOffset;
int yOffset;
int widthOffset;
int stroke;
UIColor* strokeColor;
}
@property (nonatomic) int xOffset;
@property (nonatomic) int yOffset;
@property (nonatomic) int widthOffset;
@interface NSNumber (Enumeration)
- (void)times:(void (^)(NSUInteger index, BOOL *stop))block;
@end