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
| #import <UIKit/UIKit.h> | |
| #import "TNLAlertController.h" | |
| #import <ReactiveCocoa/ReactiveCocoa.h> | |
| @interface TNLAlertController_iOS7 : TNLAlertController | |
| - (instancetype)initWithTitle:(NSString *)title message:(NSString *)message andStyle:(TNLAlertControllerStyle)alertStyle; | |
| @property (nonatomic, strong) UIAlertView *alertView; |
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
| UIBezierPath *rightPiece = [UIBezierPath bezierPath]; | |
| [rightPiece moveToPoint:CGPointMake(midX, height)]; | |
| [rightPiece addLineToPoint:CGPointMake(width - 2.0, 10.5)]; | |
| [rightPiece addArcWithCenter:CGPointMake(width-radius, radius) radius:radius startAngle:DEGREES_TO_RADIANS(45.0) endAngle:DEGREES_TO_RADIANS(235.0) clockwise:NO]; | |
| [rightPiece addLineToPoint:CGPointMake(midX + 2.0, 4.0)]; | |
| [rightPiece addLineToPoint:CGPointMake(midX - 2.0, 9.0)]; | |
| [rightPiece addLineToPoint:CGPointMake(midX + 2.0, 11.0)]; | |
| [rightPiece closePath]; | |
| [rightPiece applyTransform:CGAffineTransformRotate(transform, DEGREES_TO_RADIANS(25))]; |