This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // NSObject+TUBlockDealloc.h | |
| // ThinkGV | |
| // | |
| // Created by David Beck on 4/20/12. | |
| // Copyright (c) 2012 ThinkUltimate LLC. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _actionDelayTimer = [NSTimer scheduledTimerWithTimeInterval:1.0 target:[NSBlockOperation blockOperationWithBlock:^{ | |
| NSLog(@"Well this is useless."); | |
| }] selector:@selector(start) userInfo:nil repeats:YES]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - (void)drawRect:(CGRect)drawRect | |
| { | |
| CGContextRef context = UIGraphicsGetCurrentContext(); | |
| CGContextSaveGState(context); | |
| CGContextClipToDrawing(context, self.bounds, ^(CGContextRef maskContext, CGRect rect){ | |
| UIGraphicsPushContext(maskContext); | |
| [[UIColor whiteColor] setFill]; | |
| CGContextFillRect(maskContext, rect); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // NSImage+TMStretchable.h | |
| // ThinkMessenger | |
| // | |
| // Created by David Beck on 1/11/12. | |
| // Copyright (c) 2012 ThinkUltimate. All rights reserved. | |
| // | |
| #import <AppKit/AppKit.h> |
NewerOlder