├── .gitignore ├── .travis.yml ├── AFCurvedArrowView.podspec ├── AFCurvedArrowView ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── AFCurvedArrowView.h │ └── AFCurvedArrowView.m ├── Example ├── AFCurvedArrowView.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── AFCurvedArrowView-Example.xcscheme ├── AFCurvedArrowView.xcworkspace │ └── contents.xcworkspacedata ├── AFCurvedArrowView │ ├── AFAppDelegate.h │ ├── AFAppDelegate.m │ ├── AFCurvedArrowView-Info.plist │ ├── AFCurvedArrowView-Prefix.pch │ ├── AFViewController.h │ ├── AFViewController.m │ ├── Base.lproj │ │ ├── LaunchScreen.storyboard │ │ └── Main.storyboard │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── ArrowHead.imageset │ │ │ ├── ArrowHead@2x.png │ │ │ ├── ArrowHead@3x.png │ │ │ └── Contents.json │ │ └── Contents.json │ ├── en.lproj │ │ └── InfoPlist.strings │ └── main.m ├── Podfile ├── Podfile.lock ├── Pods │ ├── Local Podspecs │ │ └── AFCurvedArrowView.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── AFCurvedArrowView │ │ ├── AFCurvedArrowView-dummy.m │ │ ├── AFCurvedArrowView-prefix.pch │ │ ├── AFCurvedArrowView-umbrella.h │ │ ├── AFCurvedArrowView.modulemap │ │ ├── AFCurvedArrowView.xcconfig │ │ └── Info.plist │ │ ├── Pods-AFCurvedArrowView_Example │ │ ├── Info.plist │ │ ├── Pods-AFCurvedArrowView_Example-acknowledgements.markdown │ │ ├── Pods-AFCurvedArrowView_Example-acknowledgements.plist │ │ ├── Pods-AFCurvedArrowView_Example-dummy.m │ │ ├── Pods-AFCurvedArrowView_Example-frameworks.sh │ │ ├── Pods-AFCurvedArrowView_Example-resources.sh │ │ ├── Pods-AFCurvedArrowView_Example-umbrella.h │ │ ├── Pods-AFCurvedArrowView_Example.debug.xcconfig │ │ ├── Pods-AFCurvedArrowView_Example.modulemap │ │ └── Pods-AFCurvedArrowView_Example.release.xcconfig │ │ └── Pods-AFCurvedArrowView_Tests │ │ ├── Info.plist │ │ ├── Pods-AFCurvedArrowView_Tests-acknowledgements.markdown │ │ ├── Pods-AFCurvedArrowView_Tests-acknowledgements.plist │ │ ├── Pods-AFCurvedArrowView_Tests-dummy.m │ │ ├── Pods-AFCurvedArrowView_Tests-frameworks.sh │ │ ├── Pods-AFCurvedArrowView_Tests-resources.sh │ │ ├── Pods-AFCurvedArrowView_Tests-umbrella.h │ │ ├── Pods-AFCurvedArrowView_Tests.debug.xcconfig │ │ ├── Pods-AFCurvedArrowView_Tests.modulemap │ │ └── Pods-AFCurvedArrowView_Tests.release.xcconfig └── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── Tests.m │ └── en.lproj │ └── InfoPlist.strings ├── LICENSE ├── README.md ├── _Pods.xcodeproj └── sample.gif /.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | DerivedData 3 | 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | 14 | *.xccheckout 15 | *.moved-aside 16 | *.xcuserstate 17 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | osx_image: xcode7.3 6 | language: objective-c 7 | # cache: cocoapods 8 | # podfile: Example/Podfile 9 | # before_install: 10 | # - gem install cocoapods # Since Travis is not always on latest version 11 | # - pod install --project-directory=Example 12 | script: 13 | - set -o pipefail && xcodebuild test -workspace Example/AFCurvedArrowView.xcworkspace -scheme AFCurvedArrowView-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty 14 | - pod lib lint 15 | -------------------------------------------------------------------------------- /AFCurvedArrowView.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'AFCurvedArrowView' 3 | s.version = '1.0.1' 4 | s.summary = 'A view to show a configurable arrow wherever you need' 5 | s.description = <<-DESC 6 | A view to show a configurable arrow wherever you need. (Mostly useful for user guides) With its' help you don’t need to have different images for arrows for different screen sizes anymore. 7 | DESC 8 | 9 | s.homepage = 'https://github.com/anton-filimonov/AFCurvedArrowView' 10 | s.screenshots = 'https://github.com/anton-filimonov/AFCurvedArrowView/blob/master/sample.gif?raw=true' 11 | s.license = { :type => 'MIT', :file => 'LICENSE' } 12 | s.author = { 'Anton Filimonov' => 'anton.s.filimonov@gmail.com' } 13 | s.source = { :git => 'https://github.com/anton-filimonov/AFCurvedArrowView.git', :tag => s.version.to_s } 14 | s.social_media_url = 'https://twitter.com/AntonFilimon' 15 | s.requires_arc = true 16 | 17 | s.ios.deployment_target = '8.0' 18 | 19 | s.source_files = 'AFCurvedArrowView/Classes/**/*' 20 | s.public_header_files = 'AFCurvedArrowView/Classes/**/*.h' 21 | end 22 | -------------------------------------------------------------------------------- /AFCurvedArrowView/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anton-filimonov/AFCurvedArrowView/3acf8d81fec5e4e9e1981f631542019e0cc73be0/AFCurvedArrowView/Assets/.gitkeep -------------------------------------------------------------------------------- /AFCurvedArrowView/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anton-filimonov/AFCurvedArrowView/3acf8d81fec5e4e9e1981f631542019e0cc73be0/AFCurvedArrowView/Classes/.gitkeep -------------------------------------------------------------------------------- /AFCurvedArrowView/Classes/AFCurvedArrowView.h: -------------------------------------------------------------------------------- 1 | // 2 | // AFCurvedArrowView.h 3 | // 4 | // Created by Anton Filimonov on 20.12.15. 5 | // Copyright © 2015 Anton Filimonov. 6 | // 7 | // The MIT License (MIT) 8 | // 9 | // Permission is hereby granted, free of charge, to any person obtaining a copy 10 | // of this software and associated documentation files (the "Software"), to deal 11 | // in the Software without restriction, including without limitation the rights 12 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | // copies of the Software, and to permit persons to whom the Software is 14 | // furnished to do so, subject to the following conditions: 15 | // 16 | // The above copyright notice and this permission notice shall be included in 17 | // all copies or substantial portions of the Software. 18 | // 19 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 | // THE SOFTWARE. 26 | 27 | #import 28 | 29 | typedef NS_ENUM(NSInteger, AFCurveType) { 30 | AFCurveTypeStraight, 31 | AFCurveTypeQuadratic, 32 | AFCurveTypeCubic 33 | }; 34 | 35 | IB_DESIGNABLE 36 | @interface AFCurvedArrowView : UIView 37 | 38 | /** 39 | * Type of the arrow line curve 40 | */ 41 | @property (assign, nonatomic) AFCurveType curveType; 42 | 43 | /** 44 | * Arrow head point in unit-based coordinates. Both coordinates could be only between 0 and 1 45 | */ 46 | @property (assign, nonatomic) IBInspectable CGPoint arrowHead; 47 | 48 | /** 49 | * Arrow tail point in unit-based coordinates. Both coordinates could be only between 0 and 1 50 | */ 51 | @property (assign, nonatomic) IBInspectable CGPoint arrowTail; 52 | 53 | /** 54 | * First control point for curve in unit-based coordinates (not limited to values between 0 and 1). Used only when \c curveType is of \c AFCurveTypeQuadratic or \c AFCurveTypeCubic 55 | */ 56 | @property (assign, nonatomic) IBInspectable CGPoint controlPoint1; 57 | 58 | /** 59 | * Second control point for curve in unit-based coordinates (not limited to values between 0 and 1). Used only when \c curveType is of \c AFCurveTypeCubic 60 | */ 61 | @property (assign, nonatomic) IBInspectable CGPoint controlPoint2; 62 | 63 | /** 64 | * Width of the line 65 | */ 66 | @property (assign, nonatomic) IBInspectable CGFloat lineWidth; 67 | 68 | /** 69 | * The line join parameter for drawing the arrow head (if no \c arrowHeadImage is set) 70 | */ 71 | @property (assign, nonatomic) CGLineJoin arrowHeadLineJoin; 72 | 73 | /** 74 | * The dash phase parameter for the line (useful if you set \c lineDashPattern) 75 | */ 76 | @property (assign, nonatomic) CGFloat lineDashPhase; 77 | 78 | /** 79 | * The dash pattern to use when drawing the arrow line (consists of numbers where each number shows the length of dash or gap) 80 | */ 81 | @property (copy, nonatomic, nullable) NSArray *lineDashPattern; 82 | 83 | /** 84 | * Arrow line color. (Also used for arrow head when \c arrowHeadImage is not set). Defaults to white 85 | */ 86 | @property (strong, nonatomic, null_resettable) IBInspectable UIColor *lineColor; 87 | 88 | /** 89 | * The image to use for arrow head. The arrow on image should be in position, in which it points up. 90 | */ 91 | @property (strong, nonatomic, nullable) IBInspectable UIImage *arrowHeadImage; 92 | 93 | /** 94 | * The anchor point in unit-based coordinates (both coordinates could be only between 0 and 1), 95 | * which means the point of \c arrowHeadImage placed in the \c arrowHead point. Default value is {0.5, 0.0} 96 | */ 97 | @property (assign, nonatomic) IBInspectable CGPoint arrowHeadImageAnchorPoint; 98 | 99 | /** 100 | * The width for arrow head (if no \c arrowHeadImage is set) 101 | */ 102 | @property (assign, nonatomic) IBInspectable CGFloat arrowHeadWidth; 103 | 104 | /** 105 | * The height for arrow head (if no \c arrowHeadImage is set) 106 | */ 107 | @property (assign, nonatomic) IBInspectable CGFloat arrowHeadHeight; 108 | 109 | @end 110 | -------------------------------------------------------------------------------- /AFCurvedArrowView/Classes/AFCurvedArrowView.m: -------------------------------------------------------------------------------- 1 | // 2 | // AFCurvedArrowView.m 3 | // 4 | // Created by Anton Filimonov on 20.12.15. 5 | // Copyright © 2015 Anton Filimonov. 6 | // 7 | // The MIT License (MIT) 8 | // 9 | // Permission is hereby granted, free of charge, to any person obtaining a copy 10 | // of this software and associated documentation files (the "Software"), to deal 11 | // in the Software without restriction, including without limitation the rights 12 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | // copies of the Software, and to permit persons to whom the Software is 14 | // furnished to do so, subject to the following conditions: 15 | // 16 | // The above copyright notice and this permission notice shall be included in 17 | // all copies or substantial portions of the Software. 18 | // 19 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 25 | // THE SOFTWARE. 26 | 27 | #import "AFCurvedArrowView.h" 28 | 29 | @interface AFCurvedArrowView () 30 | 31 | @property (strong, nonatomic) UIImageView *arrowHeadView; 32 | @property (strong, nonatomic) CAShapeLayer *arrowHeadLayer; 33 | 34 | @end 35 | 36 | @implementation AFCurvedArrowView { 37 | CGFloat _arrowHeadHeight, _arrowHeadWidth; 38 | AFCurveType _curveType; 39 | } 40 | 41 | + (Class)layerClass { 42 | return [CAShapeLayer class]; 43 | } 44 | 45 | + (CGFloat)angleForLineWithStartPoint:(CGPoint)startPoint endPoint:(CGPoint)endPoint { 46 | CGFloat angle = M_PI_2; 47 | if (endPoint.x - startPoint.x == 0.0) { 48 | if (endPoint.y < startPoint.y) { 49 | angle = -M_PI_2; 50 | } 51 | } else { 52 | angle = atan((endPoint.y - startPoint.y) / (endPoint.x - startPoint.x)); 53 | } 54 | 55 | if (endPoint.x < startPoint.x) { 56 | angle = angle + M_PI; 57 | } 58 | 59 | //actual arrow is 90 degrees turned, so we need to adjust the result 60 | return angle + M_PI_2; 61 | } 62 | 63 | + (CGPoint)pointAtPerCent:(CGFloat)percent forLineWithStartPoint:(CGPoint)startPoint endPoint:(CGPoint)endPoint { 64 | CGFloat x = startPoint.x + percent * (endPoint.x - startPoint.x); 65 | CGFloat y = startPoint.y + percent * (endPoint.y - startPoint.y); 66 | 67 | return CGPointMake(x, y); 68 | } 69 | 70 | + (CGPoint)pointAtPercent:(CGFloat)percent forBezierCurveWithPoints:(NSArray *)points { 71 | NSMutableArray *pointsMutable = [[NSMutableArray alloc] initWithArray:points]; 72 | while (pointsMutable.count > 1) { 73 | for (int i = 0; i < pointsMutable.count - 1; i++) { 74 | [pointsMutable replaceObjectAtIndex:i withObject:[NSValue valueWithCGPoint:[self pointAtPerCent:percent forLineWithStartPoint:[pointsMutable[i] CGPointValue] endPoint:[pointsMutable[i + 1] CGPointValue]]]]; 75 | } 76 | [pointsMutable removeObjectAtIndex:pointsMutable.count - 1]; 77 | } 78 | return [[pointsMutable firstObject] CGPointValue]; 79 | } 80 | 81 | - (instancetype)initWithCoder:(NSCoder *)aDecoder { 82 | self = [super initWithCoder:aDecoder]; 83 | if (self) { 84 | [self postInit]; 85 | } 86 | return self; 87 | } 88 | 89 | - (instancetype)initWithFrame:(CGRect)frame { 90 | self = [super initWithFrame:frame]; 91 | if (self) { 92 | [self postInit]; 93 | } 94 | return self; 95 | } 96 | 97 | - (void)postInit { 98 | [(CAShapeLayer *)self.layer setFillColor:[UIColor clearColor].CGColor]; 99 | self.arrowHeadLayer = [CAShapeLayer new]; 100 | self.arrowHeadLayer.fillColor = [UIColor clearColor].CGColor; 101 | self.arrowHeadLayer.frame = self.layer.bounds; 102 | [self.layer addSublayer:self.arrowHeadLayer]; 103 | 104 | self.arrowHeadView = [[UIImageView alloc] initWithFrame:CGRectZero]; 105 | self.arrowHeadView.layer.anchorPoint = CGPointMake(0.5, 0.0); 106 | [self addSubview:self.arrowHeadView]; 107 | self.arrowHeadView.hidden = YES; 108 | _lineWidth = 1.0; 109 | _arrowHeadLineJoin = kCGLineJoinMiter; 110 | 111 | self.lineColor = [UIColor whiteColor]; 112 | } 113 | 114 | #pragma mark - Custom Accessors 115 | - (void)setCurveType:(AFCurveType)curveType { 116 | if (_curveType != curveType) { 117 | _curveType = curveType; 118 | [self.layer setNeedsLayout]; 119 | } 120 | } 121 | 122 | - (void)setArrowHead:(CGPoint)arrowHead { 123 | arrowHead = [self validatedPoint:arrowHead]; 124 | if (!CGPointEqualToPoint(arrowHead, _arrowHead)) { 125 | _arrowHead = arrowHead; 126 | [self.layer setNeedsLayout]; 127 | } 128 | } 129 | 130 | - (void)setArrowTail:(CGPoint)arrowTail { 131 | arrowTail = [self validatedPoint:arrowTail]; 132 | if (!CGPointEqualToPoint(arrowTail, _arrowTail)) { 133 | _arrowTail = arrowTail; 134 | [self.layer setNeedsLayout]; 135 | } 136 | } 137 | 138 | - (void)setControlPoint1:(CGPoint)controlPoint1 { 139 | if (!CGPointEqualToPoint(controlPoint1, _controlPoint1)) { 140 | _controlPoint1 = controlPoint1; 141 | if (self.curveType != AFCurveTypeStraight) { 142 | [self.layer setNeedsLayout]; 143 | } 144 | } 145 | } 146 | 147 | - (void)setControlPoint2:(CGPoint)controlPoint2 { 148 | if (!CGPointEqualToPoint(controlPoint2, _controlPoint2)) { 149 | _controlPoint2 = controlPoint2; 150 | if (self.curveType == AFCurveTypeCubic) { 151 | [self.layer setNeedsLayout]; 152 | } 153 | } 154 | } 155 | 156 | - (void)setLineWidth:(CGFloat)lineWidth { 157 | if (_lineWidth != lineWidth) { 158 | _lineWidth = lineWidth; 159 | [(CAShapeLayer *)self.layer setLineWidth:lineWidth]; 160 | self.arrowHeadLayer.lineWidth = lineWidth; 161 | } 162 | } 163 | 164 | - (void)setArrowHeadLineJoin:(CGLineJoin)arrowHeadLineJoin { 165 | if (_arrowHeadLineJoin != arrowHeadLineJoin) { 166 | _arrowHeadLineJoin = arrowHeadLineJoin; 167 | 168 | NSString *layerLineJoinValue = nil; 169 | switch (arrowHeadLineJoin) { 170 | case kCGLineJoinBevel: 171 | layerLineJoinValue = kCALineJoinBevel; 172 | break; 173 | 174 | case kCGLineJoinMiter: 175 | layerLineJoinValue = kCALineJoinMiter; 176 | break; 177 | 178 | case kCGLineJoinRound: 179 | layerLineJoinValue = kCALineJoinRound; 180 | break; 181 | 182 | default: 183 | break; 184 | } 185 | 186 | self.arrowHeadLayer.lineJoin = layerLineJoinValue; 187 | } 188 | } 189 | 190 | - (void)setLineDashPhase:(CGFloat)lineDashPhase { 191 | [(CAShapeLayer *)self.layer setLineDashPhase:lineDashPhase]; 192 | } 193 | 194 | - (CGFloat)lineDashPhase { 195 | return [(CAShapeLayer *)self.layer lineDashPhase]; 196 | } 197 | 198 | - (void)setLineDashPattern:(NSArray *)lineDashPattern { 199 | [(CAShapeLayer *)self.layer setLineDashPattern:lineDashPattern]; 200 | } 201 | 202 | - (NSArray *)lineDashPattern { 203 | return [(CAShapeLayer *)self.layer lineDashPattern]; 204 | } 205 | 206 | - (void)setLineColor:(UIColor *)lineColor { 207 | if (lineColor == nil) { 208 | lineColor = [UIColor blackColor]; 209 | } 210 | [(CAShapeLayer *)self.layer setStrokeColor:lineColor.CGColor]; 211 | self.arrowHeadLayer.strokeColor = lineColor.CGColor; 212 | } 213 | 214 | - (UIColor *)lineColor { 215 | return [UIColor colorWithCGColor:[(CAShapeLayer *)self.layer strokeColor]]; 216 | } 217 | 218 | - (void)setArrowHeadImage:(UIImage *)arrowHeadImage { 219 | //take into account only addresses, because mostly we need to know when it changes from nil or to nil 220 | if (_arrowHeadImage != arrowHeadImage) { 221 | _arrowHeadImage = arrowHeadImage; 222 | if (arrowHeadImage == nil) { 223 | self.arrowHeadView.hidden = YES; 224 | self.arrowHeadLayer.hidden = NO; 225 | } else { 226 | self.arrowHeadView.hidden = NO; 227 | self.arrowHeadLayer.hidden = YES; 228 | CGSize oldImageSize = self.arrowHeadView.image.size; 229 | self.arrowHeadView.image = arrowHeadImage; 230 | if (!CGSizeEqualToSize(oldImageSize, arrowHeadImage.size)) { 231 | CGPoint anchorPoint = self.arrowHeadView.layer.anchorPoint; 232 | self.arrowHeadView.layer.anchorPoint = CGPointZero; 233 | self.arrowHeadView.transform = CGAffineTransformIdentity; 234 | self.arrowHeadView.frame = (CGRect){CGPointZero, arrowHeadImage.size}; 235 | self.arrowHeadView.layer.anchorPoint = anchorPoint; 236 | } 237 | } 238 | [self.layer setNeedsLayout]; 239 | } 240 | } 241 | 242 | - (void)setArrowHeadImageAnchorPoint:(CGPoint)arrowHeadImageAnchorPoint { 243 | self.arrowHeadView.layer.anchorPoint = [self validatedPoint:arrowHeadImageAnchorPoint]; 244 | } 245 | 246 | - (CGPoint)arrowHeadImageAnchorPoint { 247 | return self.arrowHeadView.layer.anchorPoint; 248 | } 249 | 250 | - (void)setArrowHeadHeight:(CGFloat)arrowHeadHeight { 251 | if (_arrowHeadHeight != arrowHeadHeight) { 252 | _arrowHeadHeight = arrowHeadHeight; 253 | if (!self.arrowHeadImage) { 254 | [self.layer setNeedsLayout]; 255 | } 256 | } 257 | } 258 | 259 | - (CGFloat)arrowHeight { 260 | if (self.arrowHeadImage) { 261 | return self.arrowHeadImage.size.height; 262 | } else { 263 | return _arrowHeadHeight; 264 | } 265 | } 266 | 267 | - (void)setArrowHeadWidth:(CGFloat)arrowHeadWidth { 268 | if (_arrowHeadWidth != arrowHeadWidth) { 269 | _arrowHeadWidth = arrowHeadWidth; 270 | if (!self.arrowHeadImage) { 271 | [self.layer setNeedsLayout]; 272 | } 273 | } 274 | } 275 | 276 | - (CGFloat)arrowWidth { 277 | if (self.arrowHeadImage) { 278 | return self.arrowHeadImage.size.width; 279 | } else { 280 | return _arrowHeadWidth; 281 | } 282 | } 283 | 284 | #pragma mark - Layout 285 | - (void)layoutSublayersOfLayer:(CALayer *)layer { 286 | [super layoutSublayersOfLayer:layer]; 287 | if (layer == self.layer) { 288 | [self updatePaths]; 289 | } 290 | } 291 | 292 | #pragma mark - Private 293 | - (CGPoint)validatedPoint:(CGPoint)aPoint { 294 | CGPoint result; 295 | result.x = MAX(MIN(aPoint.x, 1.0), 0.0); 296 | result.y = MAX(MIN(aPoint.y, 1.0), 0.0); 297 | 298 | return result; 299 | } 300 | 301 | - (CGPoint)restoredPoint:(CGPoint)normalizedPoint { 302 | return CGPointMake(normalizedPoint.x * CGRectGetWidth(self.layer.bounds), normalizedPoint.y * CGRectGetHeight(self.layer.bounds)); 303 | } 304 | 305 | - (UIBezierPath *)arrowHeadPath { 306 | //we need to draw arrow up with its frame origin at {0.0,0.0} to make its positioning same as for image 307 | UIBezierPath *result = [[UIBezierPath alloc] init]; 308 | [result setLineWidth:self.lineWidth]; 309 | [result setLineJoinStyle:self.arrowHeadLineJoin]; 310 | [result moveToPoint:CGPointMake(-_arrowHeadWidth / 2.0, _arrowHeadHeight)]; 311 | [result addLineToPoint:CGPointMake(0.0, 0.0)]; 312 | [result addLineToPoint:CGPointMake(_arrowHeadWidth / 2.0, _arrowHeadHeight)]; 313 | 314 | return result; 315 | } 316 | 317 | - (UIBezierPath *)arrowLinePath { 318 | CGPoint startPoint = [self restoredPoint:self.arrowTail]; 319 | CGPoint endPoint = [self restoredPoint:self.arrowHead]; 320 | CGPoint controlPoint1 = [self restoredPoint:self.controlPoint1]; 321 | CGPoint controlPoint2 = [self restoredPoint:self.controlPoint2]; 322 | 323 | UIBezierPath *linePath = [[UIBezierPath alloc] init]; 324 | [linePath setLineWidth:self.lineWidth]; 325 | [linePath moveToPoint:startPoint]; 326 | 327 | switch (self.curveType) { 328 | case AFCurveTypeStraight: 329 | [linePath addLineToPoint:endPoint]; 330 | break; 331 | 332 | case AFCurveTypeQuadratic: { 333 | [linePath addQuadCurveToPoint:endPoint controlPoint:controlPoint1]; 334 | } 335 | break; 336 | 337 | case AFCurveTypeCubic: { 338 | [linePath addCurveToPoint:endPoint controlPoint1:controlPoint1 controlPoint2:controlPoint2]; 339 | } 340 | break; 341 | 342 | default: 343 | break; 344 | } 345 | 346 | return linePath; 347 | } 348 | 349 | - (CGAffineTransform)currentArrowTransform { 350 | CGPoint startPoint = [self restoredPoint:self.arrowTail]; 351 | CGPoint endPoint = [self restoredPoint:self.arrowHead]; 352 | CGPoint controlPoint1 = [self restoredPoint:self.controlPoint1]; 353 | CGPoint controlPoint2 = [self restoredPoint:self.controlPoint2]; 354 | 355 | CGFloat arrowAngle = 0.0; 356 | if (self.curveType == AFCurveTypeStraight) { 357 | arrowAngle = [AFCurvedArrowView angleForLineWithStartPoint:startPoint endPoint:endPoint]; 358 | } else { 359 | CGPoint lastControlPoint = self.curveType == AFCurveTypeQuadratic ? controlPoint1 : controlPoint2; 360 | CGFloat tangentAngle = [AFCurvedArrowView angleForLineWithStartPoint:lastControlPoint endPoint:endPoint]; 361 | 362 | CGFloat deltaX = fabs(endPoint.x - lastControlPoint.x); 363 | CGFloat deltaY = fabs(endPoint.y - lastControlPoint.y); 364 | CGFloat minDelta = MAX(deltaX, deltaY); 365 | if (minDelta != 0.0) { 366 | CGFloat meaningPercent = 1 - ((self.arrowHeight / 2.0) / minDelta); 367 | 368 | NSMutableArray *linePoints = [@[[NSValue valueWithCGPoint:startPoint], [NSValue valueWithCGPoint:controlPoint1], [NSValue valueWithCGPoint:endPoint]] mutableCopy]; 369 | if (self.curveType == AFCurveTypeCubic) { 370 | [linePoints insertObject:[NSValue valueWithCGPoint:controlPoint2] atIndex:2]; 371 | } 372 | CGPoint intermediatePoint = [AFCurvedArrowView pointAtPercent:meaningPercent 373 | forBezierCurveWithPoints:linePoints]; 374 | CGFloat intermediateAngle = [AFCurvedArrowView angleForLineWithStartPoint:intermediatePoint endPoint:endPoint]; 375 | if (fabs(intermediateAngle - tangentAngle) > M_PI) { 376 | //angles could be almost equal but with opposite signs, so that we could get wrong average value 377 | //that's why we need to adjust the result here 378 | intermediateAngle += 2 * M_PI; 379 | } 380 | arrowAngle = (intermediateAngle + tangentAngle) / 2.0; 381 | } else { 382 | arrowAngle = tangentAngle; 383 | } 384 | } 385 | 386 | CGAffineTransform result = CGAffineTransformMakeTranslation(endPoint.x, endPoint.y); 387 | result = CGAffineTransformRotate(result, arrowAngle); 388 | 389 | return result; 390 | } 391 | 392 | - (void)updatePaths { 393 | [(CAShapeLayer *)self.layer setPath:[self arrowLinePath].CGPath]; 394 | 395 | CGAffineTransform t = [self currentArrowTransform]; 396 | 397 | if (self.arrowHeadImage) { 398 | self.arrowHeadView.transform = t; 399 | } else { 400 | UIBezierPath *arrowPath = [self arrowHeadPath]; 401 | [arrowPath applyTransform:t]; 402 | self.arrowHeadLayer.path = arrowPath.CGPath; 403 | } 404 | 405 | } 406 | 407 | #if TARGET_INTERFACE_BUILDER 408 | - (AFCurveType)curveType { 409 | return AFCurveTypeCubic; 410 | } 411 | 412 | - (void)drawRect:(CGRect)rect { 413 | CGContextRef context = UIGraphicsGetCurrentContext(); 414 | CGContextSetStrokeColorWithColor(context, self.lineColor.CGColor); 415 | 416 | [[self arrowLinePath] stroke]; 417 | 418 | CGAffineTransform t = [self currentArrowTransform]; 419 | 420 | if (!self.arrowHeadImage) { 421 | UIBezierPath *arrowPath = [self arrowHeadPath]; 422 | [arrowPath applyTransform:t]; 423 | [arrowPath stroke]; 424 | } 425 | } 426 | #endif 427 | 428 | @end 429 | -------------------------------------------------------------------------------- /Example/AFCurvedArrowView.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 084CE2F41F157797BC5976F0 /* Pods_AFCurvedArrowView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C0B324C8EC770A5FA4023817 /* Pods_AFCurvedArrowView_Example.framework */; }; 11 | 3ABE272B2FAB360A3054396B /* Pods_AFCurvedArrowView_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A8F89976B6A7C257CE7E673E /* Pods_AFCurvedArrowView_Tests.framework */; }; 12 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 13 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 14 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 15 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 16 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 17 | 6003F59E195388D20070C39A /* AFAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* AFAppDelegate.m */; }; 18 | 6003F5A7195388D20070C39A /* AFViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* AFViewController.m */; }; 19 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 20 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 21 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 22 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 23 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 24 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 25 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */; }; 26 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */; }; 27 | /* End PBXBuildFile section */ 28 | 29 | /* Begin PBXContainerItemProxy section */ 30 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = 6003F582195388D10070C39A /* Project object */; 33 | proxyType = 1; 34 | remoteGlobalIDString = 6003F589195388D20070C39A; 35 | remoteInfo = AFCurvedArrowView; 36 | }; 37 | /* End PBXContainerItemProxy section */ 38 | 39 | /* Begin PBXFileReference section */ 40 | 2FAE66C39E22B4F91CBF373C /* Pods-AFCurvedArrowView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFCurvedArrowView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example.release.xcconfig"; sourceTree = ""; }; 41 | 3FB5BAAA37794A5650A7183C /* Pods-AFCurvedArrowView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFCurvedArrowView_Tests.release.xcconfig"; path = "Pods/Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests.release.xcconfig"; sourceTree = ""; }; 42 | 5913B4FDE78A854F77595107 /* Pods-AFCurvedArrowView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFCurvedArrowView_Tests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests.debug.xcconfig"; sourceTree = ""; }; 43 | 5BB18E6FAC45770EB9484AA3 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 44 | 6003F58A195388D20070C39A /* AFCurvedArrowView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AFCurvedArrowView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 45 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 46 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 47 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 48 | 6003F595195388D20070C39A /* AFCurvedArrowView-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "AFCurvedArrowView-Info.plist"; sourceTree = ""; }; 49 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 50 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 51 | 6003F59B195388D20070C39A /* AFCurvedArrowView-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "AFCurvedArrowView-Prefix.pch"; sourceTree = ""; }; 52 | 6003F59C195388D20070C39A /* AFAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AFAppDelegate.h; sourceTree = ""; }; 53 | 6003F59D195388D20070C39A /* AFAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AFAppDelegate.m; sourceTree = ""; }; 54 | 6003F5A5195388D20070C39A /* AFViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AFViewController.h; sourceTree = ""; }; 55 | 6003F5A6195388D20070C39A /* AFViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AFViewController.m; sourceTree = ""; }; 56 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 57 | 6003F5AE195388D20070C39A /* AFCurvedArrowView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = AFCurvedArrowView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 59 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 60 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 61 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 62 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 63 | 71719F9E1E33DC2100824A3D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 64 | 7D615E0DE1EE2AE0A7079D87 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 65 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = Main.storyboard; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 66 | A5307C7FA509F36CF9174937 /* Pods-AFCurvedArrowView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-AFCurvedArrowView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example.debug.xcconfig"; sourceTree = ""; }; 67 | A8F89976B6A7C257CE7E673E /* Pods_AFCurvedArrowView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AFCurvedArrowView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 68 | C0B324C8EC770A5FA4023817 /* Pods_AFCurvedArrowView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_AFCurvedArrowView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 69 | E8844A29697B183D52874375 /* AFCurvedArrowView.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = AFCurvedArrowView.podspec; path = ../AFCurvedArrowView.podspec; sourceTree = ""; }; 70 | /* End PBXFileReference section */ 71 | 72 | /* Begin PBXFrameworksBuildPhase section */ 73 | 6003F587195388D20070C39A /* Frameworks */ = { 74 | isa = PBXFrameworksBuildPhase; 75 | buildActionMask = 2147483647; 76 | files = ( 77 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 78 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 79 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 80 | 084CE2F41F157797BC5976F0 /* Pods_AFCurvedArrowView_Example.framework in Frameworks */, 81 | ); 82 | runOnlyForDeploymentPostprocessing = 0; 83 | }; 84 | 6003F5AB195388D20070C39A /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 89 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 90 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 91 | 3ABE272B2FAB360A3054396B /* Pods_AFCurvedArrowView_Tests.framework in Frameworks */, 92 | ); 93 | runOnlyForDeploymentPostprocessing = 0; 94 | }; 95 | /* End PBXFrameworksBuildPhase section */ 96 | 97 | /* Begin PBXGroup section */ 98 | 6003F581195388D10070C39A = { 99 | isa = PBXGroup; 100 | children = ( 101 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 102 | 6003F593195388D20070C39A /* Example for AFCurvedArrowView */, 103 | 6003F5B5195388D20070C39A /* Tests */, 104 | 6003F58C195388D20070C39A /* Frameworks */, 105 | 6003F58B195388D20070C39A /* Products */, 106 | 7BEAD12CC7BA5B63A66F1928 /* Pods */, 107 | ); 108 | sourceTree = ""; 109 | }; 110 | 6003F58B195388D20070C39A /* Products */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | 6003F58A195388D20070C39A /* AFCurvedArrowView_Example.app */, 114 | 6003F5AE195388D20070C39A /* AFCurvedArrowView_Tests.xctest */, 115 | ); 116 | name = Products; 117 | sourceTree = ""; 118 | }; 119 | 6003F58C195388D20070C39A /* Frameworks */ = { 120 | isa = PBXGroup; 121 | children = ( 122 | 6003F58D195388D20070C39A /* Foundation.framework */, 123 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 124 | 6003F591195388D20070C39A /* UIKit.framework */, 125 | 6003F5AF195388D20070C39A /* XCTest.framework */, 126 | C0B324C8EC770A5FA4023817 /* Pods_AFCurvedArrowView_Example.framework */, 127 | A8F89976B6A7C257CE7E673E /* Pods_AFCurvedArrowView_Tests.framework */, 128 | ); 129 | name = Frameworks; 130 | sourceTree = ""; 131 | }; 132 | 6003F593195388D20070C39A /* Example for AFCurvedArrowView */ = { 133 | isa = PBXGroup; 134 | children = ( 135 | 6003F59C195388D20070C39A /* AFAppDelegate.h */, 136 | 6003F59D195388D20070C39A /* AFAppDelegate.m */, 137 | 873B8AEA1B1F5CCA007FD442 /* Main.storyboard */, 138 | 6003F5A5195388D20070C39A /* AFViewController.h */, 139 | 6003F5A6195388D20070C39A /* AFViewController.m */, 140 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */, 141 | 6003F5A8195388D20070C39A /* Images.xcassets */, 142 | 6003F594195388D20070C39A /* Supporting Files */, 143 | ); 144 | name = "Example for AFCurvedArrowView"; 145 | path = AFCurvedArrowView; 146 | sourceTree = ""; 147 | }; 148 | 6003F594195388D20070C39A /* Supporting Files */ = { 149 | isa = PBXGroup; 150 | children = ( 151 | 6003F595195388D20070C39A /* AFCurvedArrowView-Info.plist */, 152 | 6003F596195388D20070C39A /* InfoPlist.strings */, 153 | 6003F599195388D20070C39A /* main.m */, 154 | 6003F59B195388D20070C39A /* AFCurvedArrowView-Prefix.pch */, 155 | ); 156 | name = "Supporting Files"; 157 | sourceTree = ""; 158 | }; 159 | 6003F5B5195388D20070C39A /* Tests */ = { 160 | isa = PBXGroup; 161 | children = ( 162 | 6003F5BB195388D20070C39A /* Tests.m */, 163 | 6003F5B6195388D20070C39A /* Supporting Files */, 164 | ); 165 | path = Tests; 166 | sourceTree = ""; 167 | }; 168 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 169 | isa = PBXGroup; 170 | children = ( 171 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 172 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 173 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 174 | ); 175 | name = "Supporting Files"; 176 | sourceTree = ""; 177 | }; 178 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 179 | isa = PBXGroup; 180 | children = ( 181 | E8844A29697B183D52874375 /* AFCurvedArrowView.podspec */, 182 | 5BB18E6FAC45770EB9484AA3 /* README.md */, 183 | 7D615E0DE1EE2AE0A7079D87 /* LICENSE */, 184 | ); 185 | name = "Podspec Metadata"; 186 | sourceTree = ""; 187 | }; 188 | 7BEAD12CC7BA5B63A66F1928 /* Pods */ = { 189 | isa = PBXGroup; 190 | children = ( 191 | A5307C7FA509F36CF9174937 /* Pods-AFCurvedArrowView_Example.debug.xcconfig */, 192 | 2FAE66C39E22B4F91CBF373C /* Pods-AFCurvedArrowView_Example.release.xcconfig */, 193 | 5913B4FDE78A854F77595107 /* Pods-AFCurvedArrowView_Tests.debug.xcconfig */, 194 | 3FB5BAAA37794A5650A7183C /* Pods-AFCurvedArrowView_Tests.release.xcconfig */, 195 | ); 196 | name = Pods; 197 | sourceTree = ""; 198 | }; 199 | /* End PBXGroup section */ 200 | 201 | /* Begin PBXNativeTarget section */ 202 | 6003F589195388D20070C39A /* AFCurvedArrowView_Example */ = { 203 | isa = PBXNativeTarget; 204 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "AFCurvedArrowView_Example" */; 205 | buildPhases = ( 206 | C074C9B455D495B5AADABE14 /* [CP] Check Pods Manifest.lock */, 207 | 6003F586195388D20070C39A /* Sources */, 208 | 6003F587195388D20070C39A /* Frameworks */, 209 | 6003F588195388D20070C39A /* Resources */, 210 | 9143748ABFAFD7E68F5E8106 /* [CP] Embed Pods Frameworks */, 211 | 55164768E3ADD444A02BB318 /* [CP] Copy Pods Resources */, 212 | ); 213 | buildRules = ( 214 | ); 215 | dependencies = ( 216 | ); 217 | name = AFCurvedArrowView_Example; 218 | productName = AFCurvedArrowView; 219 | productReference = 6003F58A195388D20070C39A /* AFCurvedArrowView_Example.app */; 220 | productType = "com.apple.product-type.application"; 221 | }; 222 | 6003F5AD195388D20070C39A /* AFCurvedArrowView_Tests */ = { 223 | isa = PBXNativeTarget; 224 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "AFCurvedArrowView_Tests" */; 225 | buildPhases = ( 226 | 3C82352A8C9484EEA83EFC13 /* [CP] Check Pods Manifest.lock */, 227 | 6003F5AA195388D20070C39A /* Sources */, 228 | 6003F5AB195388D20070C39A /* Frameworks */, 229 | 6003F5AC195388D20070C39A /* Resources */, 230 | 16A3CFC738BCCB3837866C87 /* [CP] Embed Pods Frameworks */, 231 | FD22C1EFDC1B5D18FC1340F1 /* [CP] Copy Pods Resources */, 232 | ); 233 | buildRules = ( 234 | ); 235 | dependencies = ( 236 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 237 | ); 238 | name = AFCurvedArrowView_Tests; 239 | productName = AFCurvedArrowViewTests; 240 | productReference = 6003F5AE195388D20070C39A /* AFCurvedArrowView_Tests.xctest */; 241 | productType = "com.apple.product-type.bundle.unit-test"; 242 | }; 243 | /* End PBXNativeTarget section */ 244 | 245 | /* Begin PBXProject section */ 246 | 6003F582195388D10070C39A /* Project object */ = { 247 | isa = PBXProject; 248 | attributes = { 249 | CLASSPREFIX = AF; 250 | LastUpgradeCheck = 0720; 251 | ORGANIZATIONNAME = "Anton Filimonov"; 252 | TargetAttributes = { 253 | 6003F5AD195388D20070C39A = { 254 | TestTargetID = 6003F589195388D20070C39A; 255 | }; 256 | }; 257 | }; 258 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "AFCurvedArrowView" */; 259 | compatibilityVersion = "Xcode 3.2"; 260 | developmentRegion = English; 261 | hasScannedForEncodings = 0; 262 | knownRegions = ( 263 | en, 264 | Base, 265 | ); 266 | mainGroup = 6003F581195388D10070C39A; 267 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 268 | projectDirPath = ""; 269 | projectRoot = ""; 270 | targets = ( 271 | 6003F589195388D20070C39A /* AFCurvedArrowView_Example */, 272 | 6003F5AD195388D20070C39A /* AFCurvedArrowView_Tests */, 273 | ); 274 | }; 275 | /* End PBXProject section */ 276 | 277 | /* Begin PBXResourcesBuildPhase section */ 278 | 6003F588195388D20070C39A /* Resources */ = { 279 | isa = PBXResourcesBuildPhase; 280 | buildActionMask = 2147483647; 281 | files = ( 282 | 873B8AEB1B1F5CCA007FD442 /* Main.storyboard in Resources */, 283 | 71719F9F1E33DC2100824A3D /* LaunchScreen.storyboard in Resources */, 284 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 285 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 286 | ); 287 | runOnlyForDeploymentPostprocessing = 0; 288 | }; 289 | 6003F5AC195388D20070C39A /* Resources */ = { 290 | isa = PBXResourcesBuildPhase; 291 | buildActionMask = 2147483647; 292 | files = ( 293 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 294 | ); 295 | runOnlyForDeploymentPostprocessing = 0; 296 | }; 297 | /* End PBXResourcesBuildPhase section */ 298 | 299 | /* Begin PBXShellScriptBuildPhase section */ 300 | 16A3CFC738BCCB3837866C87 /* [CP] Embed Pods Frameworks */ = { 301 | isa = PBXShellScriptBuildPhase; 302 | buildActionMask = 2147483647; 303 | files = ( 304 | ); 305 | inputPaths = ( 306 | ); 307 | name = "[CP] Embed Pods Frameworks"; 308 | outputPaths = ( 309 | ); 310 | runOnlyForDeploymentPostprocessing = 0; 311 | shellPath = /bin/sh; 312 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests-frameworks.sh\"\n"; 313 | showEnvVarsInLog = 0; 314 | }; 315 | 3C82352A8C9484EEA83EFC13 /* [CP] Check Pods Manifest.lock */ = { 316 | isa = PBXShellScriptBuildPhase; 317 | buildActionMask = 2147483647; 318 | files = ( 319 | ); 320 | inputPaths = ( 321 | ); 322 | name = "[CP] Check Pods Manifest.lock"; 323 | outputPaths = ( 324 | ); 325 | runOnlyForDeploymentPostprocessing = 0; 326 | shellPath = /bin/sh; 327 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; 328 | showEnvVarsInLog = 0; 329 | }; 330 | 55164768E3ADD444A02BB318 /* [CP] Copy Pods Resources */ = { 331 | isa = PBXShellScriptBuildPhase; 332 | buildActionMask = 2147483647; 333 | files = ( 334 | ); 335 | inputPaths = ( 336 | ); 337 | name = "[CP] Copy Pods Resources"; 338 | outputPaths = ( 339 | ); 340 | runOnlyForDeploymentPostprocessing = 0; 341 | shellPath = /bin/sh; 342 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example-resources.sh\"\n"; 343 | showEnvVarsInLog = 0; 344 | }; 345 | 9143748ABFAFD7E68F5E8106 /* [CP] Embed Pods Frameworks */ = { 346 | isa = PBXShellScriptBuildPhase; 347 | buildActionMask = 2147483647; 348 | files = ( 349 | ); 350 | inputPaths = ( 351 | ); 352 | name = "[CP] Embed Pods Frameworks"; 353 | outputPaths = ( 354 | ); 355 | runOnlyForDeploymentPostprocessing = 0; 356 | shellPath = /bin/sh; 357 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example-frameworks.sh\"\n"; 358 | showEnvVarsInLog = 0; 359 | }; 360 | C074C9B455D495B5AADABE14 /* [CP] Check Pods Manifest.lock */ = { 361 | isa = PBXShellScriptBuildPhase; 362 | buildActionMask = 2147483647; 363 | files = ( 364 | ); 365 | inputPaths = ( 366 | ); 367 | name = "[CP] Check Pods Manifest.lock"; 368 | outputPaths = ( 369 | ); 370 | runOnlyForDeploymentPostprocessing = 0; 371 | shellPath = /bin/sh; 372 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; 373 | showEnvVarsInLog = 0; 374 | }; 375 | FD22C1EFDC1B5D18FC1340F1 /* [CP] Copy Pods Resources */ = { 376 | isa = PBXShellScriptBuildPhase; 377 | buildActionMask = 2147483647; 378 | files = ( 379 | ); 380 | inputPaths = ( 381 | ); 382 | name = "[CP] Copy Pods Resources"; 383 | outputPaths = ( 384 | ); 385 | runOnlyForDeploymentPostprocessing = 0; 386 | shellPath = /bin/sh; 387 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests-resources.sh\"\n"; 388 | showEnvVarsInLog = 0; 389 | }; 390 | /* End PBXShellScriptBuildPhase section */ 391 | 392 | /* Begin PBXSourcesBuildPhase section */ 393 | 6003F586195388D20070C39A /* Sources */ = { 394 | isa = PBXSourcesBuildPhase; 395 | buildActionMask = 2147483647; 396 | files = ( 397 | 6003F59E195388D20070C39A /* AFAppDelegate.m in Sources */, 398 | 6003F5A7195388D20070C39A /* AFViewController.m in Sources */, 399 | 6003F59A195388D20070C39A /* main.m in Sources */, 400 | ); 401 | runOnlyForDeploymentPostprocessing = 0; 402 | }; 403 | 6003F5AA195388D20070C39A /* Sources */ = { 404 | isa = PBXSourcesBuildPhase; 405 | buildActionMask = 2147483647; 406 | files = ( 407 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 408 | ); 409 | runOnlyForDeploymentPostprocessing = 0; 410 | }; 411 | /* End PBXSourcesBuildPhase section */ 412 | 413 | /* Begin PBXTargetDependency section */ 414 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 415 | isa = PBXTargetDependency; 416 | target = 6003F589195388D20070C39A /* AFCurvedArrowView_Example */; 417 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 418 | }; 419 | /* End PBXTargetDependency section */ 420 | 421 | /* Begin PBXVariantGroup section */ 422 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 423 | isa = PBXVariantGroup; 424 | children = ( 425 | 6003F597195388D20070C39A /* en */, 426 | ); 427 | name = InfoPlist.strings; 428 | sourceTree = ""; 429 | }; 430 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 431 | isa = PBXVariantGroup; 432 | children = ( 433 | 6003F5B9195388D20070C39A /* en */, 434 | ); 435 | name = InfoPlist.strings; 436 | sourceTree = ""; 437 | }; 438 | 71719F9D1E33DC2100824A3D /* LaunchScreen.storyboard */ = { 439 | isa = PBXVariantGroup; 440 | children = ( 441 | 71719F9E1E33DC2100824A3D /* Base */, 442 | ); 443 | name = LaunchScreen.storyboard; 444 | sourceTree = ""; 445 | }; 446 | /* End PBXVariantGroup section */ 447 | 448 | /* Begin XCBuildConfiguration section */ 449 | 6003F5BD195388D20070C39A /* Debug */ = { 450 | isa = XCBuildConfiguration; 451 | buildSettings = { 452 | ALWAYS_SEARCH_USER_PATHS = NO; 453 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 454 | CLANG_CXX_LIBRARY = "libc++"; 455 | CLANG_ENABLE_MODULES = YES; 456 | CLANG_ENABLE_OBJC_ARC = YES; 457 | CLANG_WARN_BOOL_CONVERSION = YES; 458 | CLANG_WARN_CONSTANT_CONVERSION = YES; 459 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 460 | CLANG_WARN_EMPTY_BODY = YES; 461 | CLANG_WARN_ENUM_CONVERSION = YES; 462 | CLANG_WARN_INT_CONVERSION = YES; 463 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 464 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 465 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 466 | COPY_PHASE_STRIP = NO; 467 | ENABLE_TESTABILITY = YES; 468 | GCC_C_LANGUAGE_STANDARD = gnu99; 469 | GCC_DYNAMIC_NO_PIC = NO; 470 | GCC_OPTIMIZATION_LEVEL = 0; 471 | GCC_PREPROCESSOR_DEFINITIONS = ( 472 | "DEBUG=1", 473 | "$(inherited)", 474 | ); 475 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 476 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 477 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 478 | GCC_WARN_UNDECLARED_SELECTOR = YES; 479 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 480 | GCC_WARN_UNUSED_FUNCTION = YES; 481 | GCC_WARN_UNUSED_VARIABLE = YES; 482 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 483 | ONLY_ACTIVE_ARCH = YES; 484 | SDKROOT = iphoneos; 485 | TARGETED_DEVICE_FAMILY = "1,2"; 486 | }; 487 | name = Debug; 488 | }; 489 | 6003F5BE195388D20070C39A /* Release */ = { 490 | isa = XCBuildConfiguration; 491 | buildSettings = { 492 | ALWAYS_SEARCH_USER_PATHS = NO; 493 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 494 | CLANG_CXX_LIBRARY = "libc++"; 495 | CLANG_ENABLE_MODULES = YES; 496 | CLANG_ENABLE_OBJC_ARC = YES; 497 | CLANG_WARN_BOOL_CONVERSION = YES; 498 | CLANG_WARN_CONSTANT_CONVERSION = YES; 499 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 500 | CLANG_WARN_EMPTY_BODY = YES; 501 | CLANG_WARN_ENUM_CONVERSION = YES; 502 | CLANG_WARN_INT_CONVERSION = YES; 503 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 504 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 505 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 506 | COPY_PHASE_STRIP = YES; 507 | ENABLE_NS_ASSERTIONS = NO; 508 | GCC_C_LANGUAGE_STANDARD = gnu99; 509 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 510 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 511 | GCC_WARN_UNDECLARED_SELECTOR = YES; 512 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 513 | GCC_WARN_UNUSED_FUNCTION = YES; 514 | GCC_WARN_UNUSED_VARIABLE = YES; 515 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 516 | SDKROOT = iphoneos; 517 | TARGETED_DEVICE_FAMILY = "1,2"; 518 | VALIDATE_PRODUCT = YES; 519 | }; 520 | name = Release; 521 | }; 522 | 6003F5C0195388D20070C39A /* Debug */ = { 523 | isa = XCBuildConfiguration; 524 | baseConfigurationReference = A5307C7FA509F36CF9174937 /* Pods-AFCurvedArrowView_Example.debug.xcconfig */; 525 | buildSettings = { 526 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 527 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 528 | GCC_PREFIX_HEADER = "AFCurvedArrowView/AFCurvedArrowView-Prefix.pch"; 529 | INFOPLIST_FILE = "AFCurvedArrowView/AFCurvedArrowView-Info.plist"; 530 | MODULE_NAME = ExampleApp; 531 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 532 | PRODUCT_NAME = "$(TARGET_NAME)"; 533 | WRAPPER_EXTENSION = app; 534 | }; 535 | name = Debug; 536 | }; 537 | 6003F5C1195388D20070C39A /* Release */ = { 538 | isa = XCBuildConfiguration; 539 | baseConfigurationReference = 2FAE66C39E22B4F91CBF373C /* Pods-AFCurvedArrowView_Example.release.xcconfig */; 540 | buildSettings = { 541 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 542 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 543 | GCC_PREFIX_HEADER = "AFCurvedArrowView/AFCurvedArrowView-Prefix.pch"; 544 | INFOPLIST_FILE = "AFCurvedArrowView/AFCurvedArrowView-Info.plist"; 545 | MODULE_NAME = ExampleApp; 546 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 547 | PRODUCT_NAME = "$(TARGET_NAME)"; 548 | WRAPPER_EXTENSION = app; 549 | }; 550 | name = Release; 551 | }; 552 | 6003F5C3195388D20070C39A /* Debug */ = { 553 | isa = XCBuildConfiguration; 554 | baseConfigurationReference = 5913B4FDE78A854F77595107 /* Pods-AFCurvedArrowView_Tests.debug.xcconfig */; 555 | buildSettings = { 556 | BUNDLE_LOADER = "$(TEST_HOST)"; 557 | FRAMEWORK_SEARCH_PATHS = ( 558 | "$(SDKROOT)/Developer/Library/Frameworks", 559 | "$(inherited)", 560 | "$(DEVELOPER_FRAMEWORKS_DIR)", 561 | ); 562 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 563 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 564 | GCC_PREPROCESSOR_DEFINITIONS = ( 565 | "DEBUG=1", 566 | "$(inherited)", 567 | ); 568 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 569 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 570 | PRODUCT_NAME = "$(TARGET_NAME)"; 571 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AFCurvedArrowView_Example.app/AFCurvedArrowView_Example"; 572 | WRAPPER_EXTENSION = xctest; 573 | }; 574 | name = Debug; 575 | }; 576 | 6003F5C4195388D20070C39A /* Release */ = { 577 | isa = XCBuildConfiguration; 578 | baseConfigurationReference = 3FB5BAAA37794A5650A7183C /* Pods-AFCurvedArrowView_Tests.release.xcconfig */; 579 | buildSettings = { 580 | BUNDLE_LOADER = "$(TEST_HOST)"; 581 | FRAMEWORK_SEARCH_PATHS = ( 582 | "$(SDKROOT)/Developer/Library/Frameworks", 583 | "$(inherited)", 584 | "$(DEVELOPER_FRAMEWORKS_DIR)", 585 | ); 586 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 587 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 588 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 589 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 590 | PRODUCT_NAME = "$(TARGET_NAME)"; 591 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/AFCurvedArrowView_Example.app/AFCurvedArrowView_Example"; 592 | WRAPPER_EXTENSION = xctest; 593 | }; 594 | name = Release; 595 | }; 596 | /* End XCBuildConfiguration section */ 597 | 598 | /* Begin XCConfigurationList section */ 599 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "AFCurvedArrowView" */ = { 600 | isa = XCConfigurationList; 601 | buildConfigurations = ( 602 | 6003F5BD195388D20070C39A /* Debug */, 603 | 6003F5BE195388D20070C39A /* Release */, 604 | ); 605 | defaultConfigurationIsVisible = 0; 606 | defaultConfigurationName = Release; 607 | }; 608 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "AFCurvedArrowView_Example" */ = { 609 | isa = XCConfigurationList; 610 | buildConfigurations = ( 611 | 6003F5C0195388D20070C39A /* Debug */, 612 | 6003F5C1195388D20070C39A /* Release */, 613 | ); 614 | defaultConfigurationIsVisible = 0; 615 | defaultConfigurationName = Release; 616 | }; 617 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "AFCurvedArrowView_Tests" */ = { 618 | isa = XCConfigurationList; 619 | buildConfigurations = ( 620 | 6003F5C3195388D20070C39A /* Debug */, 621 | 6003F5C4195388D20070C39A /* Release */, 622 | ); 623 | defaultConfigurationIsVisible = 0; 624 | defaultConfigurationName = Release; 625 | }; 626 | /* End XCConfigurationList section */ 627 | }; 628 | rootObject = 6003F582195388D10070C39A /* Project object */; 629 | } 630 | -------------------------------------------------------------------------------- /Example/AFCurvedArrowView.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/AFCurvedArrowView.xcodeproj/xcshareddata/xcschemes/AFCurvedArrowView-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 85 | 91 | 92 | 93 | 94 | 96 | 97 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /Example/AFCurvedArrowView.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/AFAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AFAppDelegate.h 3 | // AFCurvedArrowView 4 | // 5 | // Created by Anton Filimonov on 04/14/2017. 6 | // Copyright (c) 2017 Anton Filimonov. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface AFAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/AFAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AFAppDelegate.m 3 | // AFCurvedArrowView 4 | // 5 | // Created by Anton Filimonov on 04/14/2017. 6 | // Copyright (c) 2017 Anton Filimonov. All rights reserved. 7 | // 8 | 9 | #import "AFAppDelegate.h" 10 | 11 | @implementation AFAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 22 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/AFCurvedArrowView-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | LaunchScreen 29 | UIMainStoryboardFile 30 | Main 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/AFCurvedArrowView-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | @import UIKit; 15 | @import Foundation; 16 | #endif 17 | -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/AFViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // AFViewController.h 3 | // AFCurvedArrowView 4 | // 5 | // Created by Anton Filimonov on 04/14/2017. 6 | // Copyright (c) 2017 Anton Filimonov. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | 11 | @interface AFViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/AFViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // AFViewController.m 3 | // AFCurvedArrowView 4 | // 5 | // Created by Anton Filimonov on 04/14/2017. 6 | // Copyright (c) 2017 Anton Filimonov. All rights reserved. 7 | // 8 | 9 | #import "AFViewController.h" 10 | #import "AFCurvedArrowView.h" 11 | 12 | @interface AFViewController () 13 | 14 | @property (weak, nonatomic) IBOutlet UISegmentedControl *curveTypeSelectionControl; 15 | @property (weak, nonatomic) IBOutlet UISegmentedControl *tweakingPointSelectionControl; 16 | @property (weak, nonatomic) IBOutlet AFCurvedArrowView *arrowView; 17 | 18 | @end 19 | 20 | @implementation AFViewController 21 | 22 | - (void)viewDidLoad { 23 | [super viewDidLoad]; 24 | // Do any additional setup after loading the view, typically from a nib 25 | self.tweakingPointSelectionControl.apportionsSegmentWidthsByContent = YES; 26 | 27 | UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(handlePanGesture:)]; 28 | pan.maximumNumberOfTouches = 1; 29 | pan.minimumNumberOfTouches = 1; 30 | pan.delegate = self; 31 | [self.view addGestureRecognizer:pan]; 32 | 33 | self.arrowView.lineDashPattern = @[@(10), @(5)]; 34 | } 35 | 36 | - (void)didReceiveMemoryWarning { 37 | [super didReceiveMemoryWarning]; 38 | // Dispose of any resources that can be recreated. 39 | } 40 | 41 | #pragma mark - Action Handlers 42 | - (IBAction)lineTypeChanged:(UISegmentedControl *)sender { 43 | NSUInteger targetNumberOfSegmentsInTweakingPointSelector = 2; 44 | switch (sender.selectedSegmentIndex) { 45 | case 0: 46 | self.arrowView.curveType = AFCurveTypeStraight; 47 | break; 48 | 49 | case 1: 50 | self.arrowView.curveType = AFCurveTypeQuadratic; 51 | targetNumberOfSegmentsInTweakingPointSelector = 3; 52 | break; 53 | 54 | case 2: 55 | self.arrowView.curveType = AFCurveTypeCubic; 56 | targetNumberOfSegmentsInTweakingPointSelector = 4; 57 | break; 58 | 59 | default: 60 | break; 61 | } 62 | 63 | while (self.tweakingPointSelectionControl.numberOfSegments > targetNumberOfSegmentsInTweakingPointSelector) { 64 | [self.tweakingPointSelectionControl removeSegmentAtIndex:self.tweakingPointSelectionControl.numberOfSegments - 2 animated:NO]; 65 | } 66 | 67 | while (self.tweakingPointSelectionControl.numberOfSegments < targetNumberOfSegmentsInTweakingPointSelector) { 68 | [self.tweakingPointSelectionControl insertSegmentWithTitle:self.tweakingPointSelectionControl.numberOfSegments == 2 ? @"ControlPoint1" : @"ControlPoint2" 69 | atIndex:self.tweakingPointSelectionControl.numberOfSegments - 1 70 | animated:NO]; 71 | } 72 | } 73 | 74 | - (IBAction)arrowTypeChanged:(UISegmentedControl *)sender { 75 | self.arrowView.arrowHeadImage = sender.selectedSegmentIndex == 1 ? [UIImage imageNamed:@"ArrowHead"] : nil; 76 | } 77 | 78 | - (void)handlePanGesture:(UIPanGestureRecognizer *)panRecognizer { 79 | CGPoint touchPosition = [panRecognizer locationInView:self.arrowView]; 80 | CGPoint normalizedPosition = CGPointMake(touchPosition.x / CGRectGetWidth(self.arrowView.frame), touchPosition.y / CGRectGetHeight(self.arrowView.frame)); 81 | 82 | NSUInteger pointSelectorActiveIndex = self.tweakingPointSelectionControl.selectedSegmentIndex; 83 | if (pointSelectorActiveIndex == 0) { 84 | self.arrowView.arrowTail = normalizedPosition; 85 | } else if (pointSelectorActiveIndex == self.tweakingPointSelectionControl.numberOfSegments - 1) { 86 | self.arrowView.arrowHead = normalizedPosition; 87 | } else if (pointSelectorActiveIndex == 1) { 88 | self.arrowView.controlPoint1 = normalizedPosition; 89 | } else { 90 | self.arrowView.controlPoint2 = normalizedPosition; 91 | } 92 | } 93 | 94 | #pragma mark - UIGestureRecognizerDelegate 95 | - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch { 96 | return ![touch.view isKindOfClass:[UIControl class]]; 97 | } 98 | 99 | @end 100 | -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 31 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/Images.xcassets/ArrowHead.imageset/ArrowHead@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anton-filimonov/AFCurvedArrowView/3acf8d81fec5e4e9e1981f631542019e0cc73be0/Example/AFCurvedArrowView/Images.xcassets/ArrowHead.imageset/ArrowHead@2x.png -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/Images.xcassets/ArrowHead.imageset/ArrowHead@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anton-filimonov/AFCurvedArrowView/3acf8d81fec5e4e9e1981f631542019e0cc73be0/Example/AFCurvedArrowView/Images.xcassets/ArrowHead.imageset/ArrowHead@3x.png -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/Images.xcassets/ArrowHead.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "filename" : "ArrowHead@2x.png", 10 | "scale" : "2x" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "filename" : "ArrowHead@3x.png", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/AFCurvedArrowView/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // AFCurvedArrowView 4 | // 5 | // Created by Anton Filimonov on 04/14/2017. 6 | // Copyright (c) 2017 Anton Filimonov. All rights reserved. 7 | // 8 | 9 | @import UIKit; 10 | #import "AFAppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) 13 | { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AFAppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '8.0' 2 | use_frameworks! 3 | 4 | target 'AFCurvedArrowView_Example' do 5 | pod 'AFCurvedArrowView', :path => '../' 6 | 7 | target 'AFCurvedArrowView_Tests' do 8 | inherit! :search_paths 9 | 10 | 11 | end 12 | end 13 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AFCurvedArrowView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - AFCurvedArrowView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AFCurvedArrowView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | AFCurvedArrowView: d777421de810f78d3ce8ec9250144c368fcb74c9 13 | 14 | PODFILE CHECKSUM: 703a3d4f1065db03f0b8f0b9b2501a9b189ea3cc 15 | 16 | COCOAPODS: 1.2.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/AFCurvedArrowView.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "AFCurvedArrowView", 3 | "version": "0.1.0", 4 | "summary": "A short description of AFCurvedArrowView.", 5 | "description": "TODO: Add long description of the pod here.", 6 | "homepage": "https://github.com/Anton Filimonov/AFCurvedArrowView", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "Anton Filimonov": "anton.s.filimonov@gmail.com" 13 | }, 14 | "source": { 15 | "git": "https://github.com/Anton Filimonov/AFCurvedArrowView.git", 16 | "tag": "0.1.0" 17 | }, 18 | "platforms": { 19 | "ios": "8.0" 20 | }, 21 | "source_files": "AFCurvedArrowView/Classes/**/*" 22 | } 23 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - AFCurvedArrowView (0.1.0) 3 | 4 | DEPENDENCIES: 5 | - AFCurvedArrowView (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | AFCurvedArrowView: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | AFCurvedArrowView: d777421de810f78d3ce8ec9250144c368fcb74c9 13 | 14 | PODFILE CHECKSUM: 703a3d4f1065db03f0b8f0b9b2501a9b189ea3cc 15 | 16 | COCOAPODS: 1.2.1 17 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 2E355589E59C2BC817EF5F70863965F0 /* AFCurvedArrowView.h in Headers */ = {isa = PBXBuildFile; fileRef = 3CB612A92005D5869DC31148FB6C449C /* AFCurvedArrowView.h */; settings = {ATTRIBUTES = (Public, ); }; }; 11 | 32FC008D2C3A7279CA4A1FC009C6EBAB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 12 | 335ABCE28743E14C2A37ED351212B956 /* Pods-AFCurvedArrowView_Tests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B0FBB282066E32EE377CF1818C1D200B /* Pods-AFCurvedArrowView_Tests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 13 | 5A00D173C7660BE3D088A536ECB64FD7 /* Pods-AFCurvedArrowView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 324CCF108F80F03298549BD520E247A3 /* Pods-AFCurvedArrowView_Example-dummy.m */; }; 14 | 650CB53B8C9A884577057810EF6172C7 /* Pods-AFCurvedArrowView_Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 48207DD06CD9F75826006622459F9B3E /* Pods-AFCurvedArrowView_Tests-dummy.m */; }; 15 | 8FC09F6F9C7461B39DC940D738058073 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 16 | 901A2F5212F1EBF7C256B437768EE64C /* Pods-AFCurvedArrowView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = BB10BC61ACB40C100D120E58013CA44E /* Pods-AFCurvedArrowView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 17 | A281FB27125E5F14E4533E30EB2659EC /* AFCurvedArrowView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B68D8455059392ECE50142C408B3EF1B /* AFCurvedArrowView-dummy.m */; }; 18 | BFAE7684AE93423D8FEE86DF58584A48 /* AFCurvedArrowView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = AD9FB3913A2192A5F7FBAB33149AB20F /* AFCurvedArrowView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; 19 | DAE37D239C16BC37E71EFA628DE2DD1C /* AFCurvedArrowView.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E06747EF127F4FAD10158234C2EC2F3 /* AFCurvedArrowView.m */; }; 20 | DB57310ED65165CB7359FA7E27776CAC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; 21 | /* End PBXBuildFile section */ 22 | 23 | /* Begin PBXContainerItemProxy section */ 24 | B30C6043CE123A3AAF6D9EEDD45D6D32 /* PBXContainerItemProxy */ = { 25 | isa = PBXContainerItemProxy; 26 | containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 27 | proxyType = 1; 28 | remoteGlobalIDString = 9AA517783AA572453ACCA94F331B664B; 29 | remoteInfo = AFCurvedArrowView; 30 | }; 31 | /* End PBXContainerItemProxy section */ 32 | 33 | /* Begin PBXFileReference section */ 34 | 08CCCF2013F9A5EFB8B56FA265B665C1 /* Pods-AFCurvedArrowView_Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AFCurvedArrowView_Tests-acknowledgements.markdown"; sourceTree = ""; }; 35 | 0AF5814391EABE3CB1EB2649636BDF33 /* Pods-AFCurvedArrowView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AFCurvedArrowView_Example-acknowledgements.plist"; sourceTree = ""; }; 36 | 0B87E6627E4449A7ABD82877350B277A /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 37 | 0DF598848D790F22918410E6BB5F3305 /* Pods-AFCurvedArrowView_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AFCurvedArrowView_Tests.release.xcconfig"; sourceTree = ""; }; 38 | 1166E8C63B73FA9E34628C5B34EF8C7A /* Pods_AFCurvedArrowView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_AFCurvedArrowView_Example.framework; path = "Pods-AFCurvedArrowView_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 39 | 1666B8CEDC11B824180B1A4FBDDB65EC /* Pods-AFCurvedArrowView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-AFCurvedArrowView_Example-acknowledgements.markdown"; sourceTree = ""; }; 40 | 25C097D944A3206001FE078CB49A09FC /* Pods_AFCurvedArrowView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_AFCurvedArrowView_Tests.framework; path = "Pods-AFCurvedArrowView_Tests.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; 41 | 28C05DDA408E9CFB659AF10FC0185F03 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 42 | 2AC5DE3475F584F651039E27743AD9BF /* AFCurvedArrowView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = AFCurvedArrowView.modulemap; sourceTree = ""; }; 43 | 2B53FF3BB20E28681C8A150F1302ADE1 /* AFCurvedArrowView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = AFCurvedArrowView.xcconfig; sourceTree = ""; }; 44 | 2D88B1724CF152A7EFBAD87D7137E76F /* Pods-AFCurvedArrowView_Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-AFCurvedArrowView_Tests-acknowledgements.plist"; sourceTree = ""; }; 45 | 324CCF108F80F03298549BD520E247A3 /* Pods-AFCurvedArrowView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AFCurvedArrowView_Example-dummy.m"; sourceTree = ""; }; 46 | 3CB612A92005D5869DC31148FB6C449C /* AFCurvedArrowView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = AFCurvedArrowView.h; sourceTree = ""; }; 47 | 48207DD06CD9F75826006622459F9B3E /* Pods-AFCurvedArrowView_Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-AFCurvedArrowView_Tests-dummy.m"; sourceTree = ""; }; 48 | 5C15B047396152C39076C6B3D9497902 /* Pods-AFCurvedArrowView_Tests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AFCurvedArrowView_Tests-frameworks.sh"; sourceTree = ""; }; 49 | 5E6CE69107C8D0411BE87DE823AC6657 /* Pods-AFCurvedArrowView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AFCurvedArrowView_Example.debug.xcconfig"; sourceTree = ""; }; 50 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 51 | 66BCCA4031BCA15B91B0E95363CEB421 /* Pods-AFCurvedArrowView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-AFCurvedArrowView_Example.modulemap"; sourceTree = ""; }; 52 | 6E06747EF127F4FAD10158234C2EC2F3 /* AFCurvedArrowView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = AFCurvedArrowView.m; sourceTree = ""; }; 53 | 82574E24081E2FE0F59B264E1FEA29E7 /* Pods-AFCurvedArrowView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AFCurvedArrowView_Example-frameworks.sh"; sourceTree = ""; }; 54 | 88501C79C766EBB63A133E14347483C2 /* Pods-AFCurvedArrowView_Tests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-AFCurvedArrowView_Tests.modulemap"; sourceTree = ""; }; 55 | 8D0EE3402E937559E549C0F22B49628C /* Pods-AFCurvedArrowView_Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AFCurvedArrowView_Tests-resources.sh"; sourceTree = ""; }; 56 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 57 | 9F0B8B087A26A7F9C845B77E12805576 /* AFCurvedArrowView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = AFCurvedArrowView.framework; path = AFCurvedArrowView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | A9896678C4A55C14A4A8AE07B1B901F2 /* Pods-AFCurvedArrowView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-AFCurvedArrowView_Example-resources.sh"; sourceTree = ""; }; 59 | AD9FB3913A2192A5F7FBAB33149AB20F /* AFCurvedArrowView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AFCurvedArrowView-umbrella.h"; sourceTree = ""; }; 60 | B0FBB282066E32EE377CF1818C1D200B /* Pods-AFCurvedArrowView_Tests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AFCurvedArrowView_Tests-umbrella.h"; sourceTree = ""; }; 61 | B25F5DD0B5FAC7B59434CF23FD92D576 /* Pods-AFCurvedArrowView_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AFCurvedArrowView_Tests.debug.xcconfig"; sourceTree = ""; }; 62 | B68D8455059392ECE50142C408B3EF1B /* AFCurvedArrowView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "AFCurvedArrowView-dummy.m"; sourceTree = ""; }; 63 | BB10BC61ACB40C100D120E58013CA44E /* Pods-AFCurvedArrowView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-AFCurvedArrowView_Example-umbrella.h"; sourceTree = ""; }; 64 | DEE5B03A2298BB6B9C2DC0CC52259C24 /* AFCurvedArrowView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "AFCurvedArrowView-prefix.pch"; sourceTree = ""; }; 65 | E8B7411893F3070AEB2BB936F9A89120 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 66 | FAE10C250C9D3B241B876ACFF345336B /* Pods-AFCurvedArrowView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-AFCurvedArrowView_Example.release.xcconfig"; sourceTree = ""; }; 67 | /* End PBXFileReference section */ 68 | 69 | /* Begin PBXFrameworksBuildPhase section */ 70 | A48FE175461765B75D305573CB0AFFF8 /* Frameworks */ = { 71 | isa = PBXFrameworksBuildPhase; 72 | buildActionMask = 2147483647; 73 | files = ( 74 | 32FC008D2C3A7279CA4A1FC009C6EBAB /* Foundation.framework in Frameworks */, 75 | ); 76 | runOnlyForDeploymentPostprocessing = 0; 77 | }; 78 | A98C79B484D293E5C09AD6298FEB2D80 /* Frameworks */ = { 79 | isa = PBXFrameworksBuildPhase; 80 | buildActionMask = 2147483647; 81 | files = ( 82 | 8FC09F6F9C7461B39DC940D738058073 /* Foundation.framework in Frameworks */, 83 | ); 84 | runOnlyForDeploymentPostprocessing = 0; 85 | }; 86 | E9D5F0C2C375CC35844359032A7EF1CC /* Frameworks */ = { 87 | isa = PBXFrameworksBuildPhase; 88 | buildActionMask = 2147483647; 89 | files = ( 90 | DB57310ED65165CB7359FA7E27776CAC /* Foundation.framework in Frameworks */, 91 | ); 92 | runOnlyForDeploymentPostprocessing = 0; 93 | }; 94 | /* End PBXFrameworksBuildPhase section */ 95 | 96 | /* Begin PBXGroup section */ 97 | 113C527715976F0DC033E8FDF6084D06 /* Classes */ = { 98 | isa = PBXGroup; 99 | children = ( 100 | 3CB612A92005D5869DC31148FB6C449C /* AFCurvedArrowView.h */, 101 | 6E06747EF127F4FAD10158234C2EC2F3 /* AFCurvedArrowView.m */, 102 | ); 103 | name = Classes; 104 | path = Classes; 105 | sourceTree = ""; 106 | }; 107 | 1DFBCA1682B679596EE7C862C5961923 /* Targets Support Files */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 58F44D19ABF170FC74836D44001C63A5 /* Pods-AFCurvedArrowView_Example */, 111 | 7D074A19875DD9C64E7EFAF7239C6BE9 /* Pods-AFCurvedArrowView_Tests */, 112 | ); 113 | name = "Targets Support Files"; 114 | sourceTree = ""; 115 | }; 116 | 3195C41C5FB27DC8E63CA9D74A764A64 /* Support Files */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 2AC5DE3475F584F651039E27743AD9BF /* AFCurvedArrowView.modulemap */, 120 | 2B53FF3BB20E28681C8A150F1302ADE1 /* AFCurvedArrowView.xcconfig */, 121 | B68D8455059392ECE50142C408B3EF1B /* AFCurvedArrowView-dummy.m */, 122 | DEE5B03A2298BB6B9C2DC0CC52259C24 /* AFCurvedArrowView-prefix.pch */, 123 | AD9FB3913A2192A5F7FBAB33149AB20F /* AFCurvedArrowView-umbrella.h */, 124 | 28C05DDA408E9CFB659AF10FC0185F03 /* Info.plist */, 125 | ); 126 | name = "Support Files"; 127 | path = "Example/Pods/Target Support Files/AFCurvedArrowView"; 128 | sourceTree = ""; 129 | }; 130 | 49E27B3590142DC9E0225E5F2D0168A8 /* Development Pods */ = { 131 | isa = PBXGroup; 132 | children = ( 133 | 4AA90596D37AB538191A145D210ACC66 /* AFCurvedArrowView */, 134 | ); 135 | name = "Development Pods"; 136 | sourceTree = ""; 137 | }; 138 | 4AA90596D37AB538191A145D210ACC66 /* AFCurvedArrowView */ = { 139 | isa = PBXGroup; 140 | children = ( 141 | 96012607068ECF459F613650FABE1258 /* AFCurvedArrowView */, 142 | 3195C41C5FB27DC8E63CA9D74A764A64 /* Support Files */, 143 | ); 144 | name = AFCurvedArrowView; 145 | path = ../..; 146 | sourceTree = ""; 147 | }; 148 | 58F44D19ABF170FC74836D44001C63A5 /* Pods-AFCurvedArrowView_Example */ = { 149 | isa = PBXGroup; 150 | children = ( 151 | E8B7411893F3070AEB2BB936F9A89120 /* Info.plist */, 152 | 66BCCA4031BCA15B91B0E95363CEB421 /* Pods-AFCurvedArrowView_Example.modulemap */, 153 | 1666B8CEDC11B824180B1A4FBDDB65EC /* Pods-AFCurvedArrowView_Example-acknowledgements.markdown */, 154 | 0AF5814391EABE3CB1EB2649636BDF33 /* Pods-AFCurvedArrowView_Example-acknowledgements.plist */, 155 | 324CCF108F80F03298549BD520E247A3 /* Pods-AFCurvedArrowView_Example-dummy.m */, 156 | 82574E24081E2FE0F59B264E1FEA29E7 /* Pods-AFCurvedArrowView_Example-frameworks.sh */, 157 | A9896678C4A55C14A4A8AE07B1B901F2 /* Pods-AFCurvedArrowView_Example-resources.sh */, 158 | BB10BC61ACB40C100D120E58013CA44E /* Pods-AFCurvedArrowView_Example-umbrella.h */, 159 | 5E6CE69107C8D0411BE87DE823AC6657 /* Pods-AFCurvedArrowView_Example.debug.xcconfig */, 160 | FAE10C250C9D3B241B876ACFF345336B /* Pods-AFCurvedArrowView_Example.release.xcconfig */, 161 | ); 162 | name = "Pods-AFCurvedArrowView_Example"; 163 | path = "Target Support Files/Pods-AFCurvedArrowView_Example"; 164 | sourceTree = ""; 165 | }; 166 | 67D1DE6909550776439BF75903F931BA /* Products */ = { 167 | isa = PBXGroup; 168 | children = ( 169 | 9F0B8B087A26A7F9C845B77E12805576 /* AFCurvedArrowView.framework */, 170 | 1166E8C63B73FA9E34628C5B34EF8C7A /* Pods_AFCurvedArrowView_Example.framework */, 171 | 25C097D944A3206001FE078CB49A09FC /* Pods_AFCurvedArrowView_Tests.framework */, 172 | ); 173 | name = Products; 174 | sourceTree = ""; 175 | }; 176 | 7D074A19875DD9C64E7EFAF7239C6BE9 /* Pods-AFCurvedArrowView_Tests */ = { 177 | isa = PBXGroup; 178 | children = ( 179 | 0B87E6627E4449A7ABD82877350B277A /* Info.plist */, 180 | 88501C79C766EBB63A133E14347483C2 /* Pods-AFCurvedArrowView_Tests.modulemap */, 181 | 08CCCF2013F9A5EFB8B56FA265B665C1 /* Pods-AFCurvedArrowView_Tests-acknowledgements.markdown */, 182 | 2D88B1724CF152A7EFBAD87D7137E76F /* Pods-AFCurvedArrowView_Tests-acknowledgements.plist */, 183 | 48207DD06CD9F75826006622459F9B3E /* Pods-AFCurvedArrowView_Tests-dummy.m */, 184 | 5C15B047396152C39076C6B3D9497902 /* Pods-AFCurvedArrowView_Tests-frameworks.sh */, 185 | 8D0EE3402E937559E549C0F22B49628C /* Pods-AFCurvedArrowView_Tests-resources.sh */, 186 | B0FBB282066E32EE377CF1818C1D200B /* Pods-AFCurvedArrowView_Tests-umbrella.h */, 187 | B25F5DD0B5FAC7B59434CF23FD92D576 /* Pods-AFCurvedArrowView_Tests.debug.xcconfig */, 188 | 0DF598848D790F22918410E6BB5F3305 /* Pods-AFCurvedArrowView_Tests.release.xcconfig */, 189 | ); 190 | name = "Pods-AFCurvedArrowView_Tests"; 191 | path = "Target Support Files/Pods-AFCurvedArrowView_Tests"; 192 | sourceTree = ""; 193 | }; 194 | 7DB346D0F39D3F0E887471402A8071AB = { 195 | isa = PBXGroup; 196 | children = ( 197 | 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, 198 | 49E27B3590142DC9E0225E5F2D0168A8 /* Development Pods */, 199 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, 200 | 67D1DE6909550776439BF75903F931BA /* Products */, 201 | 1DFBCA1682B679596EE7C862C5961923 /* Targets Support Files */, 202 | ); 203 | sourceTree = ""; 204 | }; 205 | 96012607068ECF459F613650FABE1258 /* AFCurvedArrowView */ = { 206 | isa = PBXGroup; 207 | children = ( 208 | 113C527715976F0DC033E8FDF6084D06 /* Classes */, 209 | ); 210 | name = AFCurvedArrowView; 211 | path = AFCurvedArrowView; 212 | sourceTree = ""; 213 | }; 214 | BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { 215 | isa = PBXGroup; 216 | children = ( 217 | D35AF013A5F0BAD4F32504907A52519E /* iOS */, 218 | ); 219 | name = Frameworks; 220 | sourceTree = ""; 221 | }; 222 | D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { 223 | isa = PBXGroup; 224 | children = ( 225 | 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, 226 | ); 227 | name = iOS; 228 | sourceTree = ""; 229 | }; 230 | /* End PBXGroup section */ 231 | 232 | /* Begin PBXHeadersBuildPhase section */ 233 | 0E5BF6EA546FC4FB9942BA3AED55DDDB /* Headers */ = { 234 | isa = PBXHeadersBuildPhase; 235 | buildActionMask = 2147483647; 236 | files = ( 237 | BFAE7684AE93423D8FEE86DF58584A48 /* AFCurvedArrowView-umbrella.h in Headers */, 238 | 2E355589E59C2BC817EF5F70863965F0 /* AFCurvedArrowView.h in Headers */, 239 | ); 240 | runOnlyForDeploymentPostprocessing = 0; 241 | }; 242 | 16A6266D8BADE6EBADF80928C301DD36 /* Headers */ = { 243 | isa = PBXHeadersBuildPhase; 244 | buildActionMask = 2147483647; 245 | files = ( 246 | 335ABCE28743E14C2A37ED351212B956 /* Pods-AFCurvedArrowView_Tests-umbrella.h in Headers */, 247 | ); 248 | runOnlyForDeploymentPostprocessing = 0; 249 | }; 250 | EBADB2669865A00AF0AEF39F2150E676 /* Headers */ = { 251 | isa = PBXHeadersBuildPhase; 252 | buildActionMask = 2147483647; 253 | files = ( 254 | 901A2F5212F1EBF7C256B437768EE64C /* Pods-AFCurvedArrowView_Example-umbrella.h in Headers */, 255 | ); 256 | runOnlyForDeploymentPostprocessing = 0; 257 | }; 258 | /* End PBXHeadersBuildPhase section */ 259 | 260 | /* Begin PBXNativeTarget section */ 261 | 473E34E861B7FF56526EAD10F7ED85F1 /* Pods-AFCurvedArrowView_Tests */ = { 262 | isa = PBXNativeTarget; 263 | buildConfigurationList = 39DC01B8D4D1F0DF5D5014A35962C289 /* Build configuration list for PBXNativeTarget "Pods-AFCurvedArrowView_Tests" */; 264 | buildPhases = ( 265 | 751DA92519C77F0C15513A5F9B5C15B0 /* Sources */, 266 | E9D5F0C2C375CC35844359032A7EF1CC /* Frameworks */, 267 | 16A6266D8BADE6EBADF80928C301DD36 /* Headers */, 268 | ); 269 | buildRules = ( 270 | ); 271 | dependencies = ( 272 | ); 273 | name = "Pods-AFCurvedArrowView_Tests"; 274 | productName = "Pods-AFCurvedArrowView_Tests"; 275 | productReference = 25C097D944A3206001FE078CB49A09FC /* Pods_AFCurvedArrowView_Tests.framework */; 276 | productType = "com.apple.product-type.framework"; 277 | }; 278 | 6198CAEF17F03749676CACFFACB392BE /* Pods-AFCurvedArrowView_Example */ = { 279 | isa = PBXNativeTarget; 280 | buildConfigurationList = 2474A7C7503440A29260206920E706CB /* Build configuration list for PBXNativeTarget "Pods-AFCurvedArrowView_Example" */; 281 | buildPhases = ( 282 | DE0729DF5E87C1415DE71023AAC31BCD /* Sources */, 283 | A48FE175461765B75D305573CB0AFFF8 /* Frameworks */, 284 | EBADB2669865A00AF0AEF39F2150E676 /* Headers */, 285 | ); 286 | buildRules = ( 287 | ); 288 | dependencies = ( 289 | A3DEA9886CB0216F774BD8E9BA5555FD /* PBXTargetDependency */, 290 | ); 291 | name = "Pods-AFCurvedArrowView_Example"; 292 | productName = "Pods-AFCurvedArrowView_Example"; 293 | productReference = 1166E8C63B73FA9E34628C5B34EF8C7A /* Pods_AFCurvedArrowView_Example.framework */; 294 | productType = "com.apple.product-type.framework"; 295 | }; 296 | 9AA517783AA572453ACCA94F331B664B /* AFCurvedArrowView */ = { 297 | isa = PBXNativeTarget; 298 | buildConfigurationList = 97EA864E81304B36F3B17E614A4330C8 /* Build configuration list for PBXNativeTarget "AFCurvedArrowView" */; 299 | buildPhases = ( 300 | 31CC8879E470009256336FA1578E4ACB /* Sources */, 301 | A98C79B484D293E5C09AD6298FEB2D80 /* Frameworks */, 302 | 0E5BF6EA546FC4FB9942BA3AED55DDDB /* Headers */, 303 | ); 304 | buildRules = ( 305 | ); 306 | dependencies = ( 307 | ); 308 | name = AFCurvedArrowView; 309 | productName = AFCurvedArrowView; 310 | productReference = 9F0B8B087A26A7F9C845B77E12805576 /* AFCurvedArrowView.framework */; 311 | productType = "com.apple.product-type.framework"; 312 | }; 313 | /* End PBXNativeTarget section */ 314 | 315 | /* Begin PBXProject section */ 316 | D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { 317 | isa = PBXProject; 318 | attributes = { 319 | LastSwiftUpdateCheck = 0830; 320 | LastUpgradeCheck = 0700; 321 | }; 322 | buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; 323 | compatibilityVersion = "Xcode 3.2"; 324 | developmentRegion = English; 325 | hasScannedForEncodings = 0; 326 | knownRegions = ( 327 | en, 328 | ); 329 | mainGroup = 7DB346D0F39D3F0E887471402A8071AB; 330 | productRefGroup = 67D1DE6909550776439BF75903F931BA /* Products */; 331 | projectDirPath = ""; 332 | projectRoot = ""; 333 | targets = ( 334 | 9AA517783AA572453ACCA94F331B664B /* AFCurvedArrowView */, 335 | 6198CAEF17F03749676CACFFACB392BE /* Pods-AFCurvedArrowView_Example */, 336 | 473E34E861B7FF56526EAD10F7ED85F1 /* Pods-AFCurvedArrowView_Tests */, 337 | ); 338 | }; 339 | /* End PBXProject section */ 340 | 341 | /* Begin PBXSourcesBuildPhase section */ 342 | 31CC8879E470009256336FA1578E4ACB /* Sources */ = { 343 | isa = PBXSourcesBuildPhase; 344 | buildActionMask = 2147483647; 345 | files = ( 346 | A281FB27125E5F14E4533E30EB2659EC /* AFCurvedArrowView-dummy.m in Sources */, 347 | DAE37D239C16BC37E71EFA628DE2DD1C /* AFCurvedArrowView.m in Sources */, 348 | ); 349 | runOnlyForDeploymentPostprocessing = 0; 350 | }; 351 | 751DA92519C77F0C15513A5F9B5C15B0 /* Sources */ = { 352 | isa = PBXSourcesBuildPhase; 353 | buildActionMask = 2147483647; 354 | files = ( 355 | 650CB53B8C9A884577057810EF6172C7 /* Pods-AFCurvedArrowView_Tests-dummy.m in Sources */, 356 | ); 357 | runOnlyForDeploymentPostprocessing = 0; 358 | }; 359 | DE0729DF5E87C1415DE71023AAC31BCD /* Sources */ = { 360 | isa = PBXSourcesBuildPhase; 361 | buildActionMask = 2147483647; 362 | files = ( 363 | 5A00D173C7660BE3D088A536ECB64FD7 /* Pods-AFCurvedArrowView_Example-dummy.m in Sources */, 364 | ); 365 | runOnlyForDeploymentPostprocessing = 0; 366 | }; 367 | /* End PBXSourcesBuildPhase section */ 368 | 369 | /* Begin PBXTargetDependency section */ 370 | A3DEA9886CB0216F774BD8E9BA5555FD /* PBXTargetDependency */ = { 371 | isa = PBXTargetDependency; 372 | name = AFCurvedArrowView; 373 | target = 9AA517783AA572453ACCA94F331B664B /* AFCurvedArrowView */; 374 | targetProxy = B30C6043CE123A3AAF6D9EEDD45D6D32 /* PBXContainerItemProxy */; 375 | }; 376 | /* End PBXTargetDependency section */ 377 | 378 | /* Begin XCBuildConfiguration section */ 379 | 27F19A8EA200CE02E01A49392F79EB43 /* Release */ = { 380 | isa = XCBuildConfiguration; 381 | baseConfigurationReference = 0DF598848D790F22918410E6BB5F3305 /* Pods-AFCurvedArrowView_Tests.release.xcconfig */; 382 | buildSettings = { 383 | CODE_SIGN_IDENTITY = ""; 384 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 385 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 386 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 387 | CURRENT_PROJECT_VERSION = 1; 388 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 389 | DEFINES_MODULE = YES; 390 | DYLIB_COMPATIBILITY_VERSION = 1; 391 | DYLIB_CURRENT_VERSION = 1; 392 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 393 | ENABLE_STRICT_OBJC_MSGSEND = YES; 394 | GCC_NO_COMMON_BLOCKS = YES; 395 | INFOPLIST_FILE = "Target Support Files/Pods-AFCurvedArrowView_Tests/Info.plist"; 396 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 397 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 398 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 399 | MACH_O_TYPE = staticlib; 400 | MODULEMAP_FILE = "Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests.modulemap"; 401 | MTL_ENABLE_DEBUG_INFO = NO; 402 | OTHER_LDFLAGS = ""; 403 | OTHER_LIBTOOLFLAGS = ""; 404 | PODS_ROOT = "$(SRCROOT)"; 405 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 406 | PRODUCT_NAME = Pods_AFCurvedArrowView_Tests; 407 | SDKROOT = iphoneos; 408 | SKIP_INSTALL = YES; 409 | TARGETED_DEVICE_FAMILY = "1,2"; 410 | VERSIONING_SYSTEM = "apple-generic"; 411 | VERSION_INFO_PREFIX = ""; 412 | }; 413 | name = Release; 414 | }; 415 | 34FE9531DA9AF2820790339988D5FF41 /* Release */ = { 416 | isa = XCBuildConfiguration; 417 | buildSettings = { 418 | ALWAYS_SEARCH_USER_PATHS = NO; 419 | CLANG_ANALYZER_NONNULL = YES; 420 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 421 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 422 | CLANG_CXX_LIBRARY = "libc++"; 423 | CLANG_ENABLE_MODULES = YES; 424 | CLANG_ENABLE_OBJC_ARC = YES; 425 | CLANG_WARN_BOOL_CONVERSION = YES; 426 | CLANG_WARN_CONSTANT_CONVERSION = YES; 427 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 428 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 429 | CLANG_WARN_EMPTY_BODY = YES; 430 | CLANG_WARN_ENUM_CONVERSION = YES; 431 | CLANG_WARN_INFINITE_RECURSION = YES; 432 | CLANG_WARN_INT_CONVERSION = YES; 433 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 434 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 435 | CLANG_WARN_UNREACHABLE_CODE = YES; 436 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 437 | CODE_SIGNING_REQUIRED = NO; 438 | COPY_PHASE_STRIP = YES; 439 | ENABLE_NS_ASSERTIONS = NO; 440 | GCC_C_LANGUAGE_STANDARD = gnu99; 441 | GCC_PREPROCESSOR_DEFINITIONS = ( 442 | "POD_CONFIGURATION_RELEASE=1", 443 | "$(inherited)", 444 | ); 445 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 446 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 447 | GCC_WARN_UNDECLARED_SELECTOR = YES; 448 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 449 | GCC_WARN_UNUSED_FUNCTION = YES; 450 | GCC_WARN_UNUSED_VARIABLE = YES; 451 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 452 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 453 | STRIP_INSTALLED_PRODUCT = NO; 454 | SYMROOT = "${SRCROOT}/../build"; 455 | VALIDATE_PRODUCT = YES; 456 | }; 457 | name = Release; 458 | }; 459 | 9DCA9920DD3B7711B17229A30458A122 /* Release */ = { 460 | isa = XCBuildConfiguration; 461 | baseConfigurationReference = 2B53FF3BB20E28681C8A150F1302ADE1 /* AFCurvedArrowView.xcconfig */; 462 | buildSettings = { 463 | CODE_SIGN_IDENTITY = ""; 464 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 465 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 466 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 467 | CURRENT_PROJECT_VERSION = 1; 468 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 469 | DEFINES_MODULE = YES; 470 | DYLIB_COMPATIBILITY_VERSION = 1; 471 | DYLIB_CURRENT_VERSION = 1; 472 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 473 | ENABLE_STRICT_OBJC_MSGSEND = YES; 474 | GCC_NO_COMMON_BLOCKS = YES; 475 | GCC_PREFIX_HEADER = "Target Support Files/AFCurvedArrowView/AFCurvedArrowView-prefix.pch"; 476 | INFOPLIST_FILE = "Target Support Files/AFCurvedArrowView/Info.plist"; 477 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 478 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 479 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 480 | MODULEMAP_FILE = "Target Support Files/AFCurvedArrowView/AFCurvedArrowView.modulemap"; 481 | MTL_ENABLE_DEBUG_INFO = NO; 482 | PRODUCT_NAME = AFCurvedArrowView; 483 | SDKROOT = iphoneos; 484 | SKIP_INSTALL = YES; 485 | TARGETED_DEVICE_FAMILY = "1,2"; 486 | VERSIONING_SYSTEM = "apple-generic"; 487 | VERSION_INFO_PREFIX = ""; 488 | }; 489 | name = Release; 490 | }; 491 | A8702B6DD86D5DA4A9563482EE05C0AA /* Debug */ = { 492 | isa = XCBuildConfiguration; 493 | baseConfigurationReference = 2B53FF3BB20E28681C8A150F1302ADE1 /* AFCurvedArrowView.xcconfig */; 494 | buildSettings = { 495 | CODE_SIGN_IDENTITY = ""; 496 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 497 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 498 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 499 | CURRENT_PROJECT_VERSION = 1; 500 | DEBUG_INFORMATION_FORMAT = dwarf; 501 | DEFINES_MODULE = YES; 502 | DYLIB_COMPATIBILITY_VERSION = 1; 503 | DYLIB_CURRENT_VERSION = 1; 504 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 505 | ENABLE_STRICT_OBJC_MSGSEND = YES; 506 | GCC_NO_COMMON_BLOCKS = YES; 507 | GCC_PREFIX_HEADER = "Target Support Files/AFCurvedArrowView/AFCurvedArrowView-prefix.pch"; 508 | INFOPLIST_FILE = "Target Support Files/AFCurvedArrowView/Info.plist"; 509 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 510 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 511 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 512 | MODULEMAP_FILE = "Target Support Files/AFCurvedArrowView/AFCurvedArrowView.modulemap"; 513 | MTL_ENABLE_DEBUG_INFO = YES; 514 | PRODUCT_NAME = AFCurvedArrowView; 515 | SDKROOT = iphoneos; 516 | SKIP_INSTALL = YES; 517 | TARGETED_DEVICE_FAMILY = "1,2"; 518 | VERSIONING_SYSTEM = "apple-generic"; 519 | VERSION_INFO_PREFIX = ""; 520 | }; 521 | name = Debug; 522 | }; 523 | AE47C35CE32F7731CDE7991FC5B7A739 /* Debug */ = { 524 | isa = XCBuildConfiguration; 525 | baseConfigurationReference = B25F5DD0B5FAC7B59434CF23FD92D576 /* Pods-AFCurvedArrowView_Tests.debug.xcconfig */; 526 | buildSettings = { 527 | CODE_SIGN_IDENTITY = ""; 528 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 529 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 530 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 531 | CURRENT_PROJECT_VERSION = 1; 532 | DEBUG_INFORMATION_FORMAT = dwarf; 533 | DEFINES_MODULE = YES; 534 | DYLIB_COMPATIBILITY_VERSION = 1; 535 | DYLIB_CURRENT_VERSION = 1; 536 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 537 | ENABLE_STRICT_OBJC_MSGSEND = YES; 538 | GCC_NO_COMMON_BLOCKS = YES; 539 | INFOPLIST_FILE = "Target Support Files/Pods-AFCurvedArrowView_Tests/Info.plist"; 540 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 541 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 542 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 543 | MACH_O_TYPE = staticlib; 544 | MODULEMAP_FILE = "Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests.modulemap"; 545 | MTL_ENABLE_DEBUG_INFO = YES; 546 | OTHER_LDFLAGS = ""; 547 | OTHER_LIBTOOLFLAGS = ""; 548 | PODS_ROOT = "$(SRCROOT)"; 549 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 550 | PRODUCT_NAME = Pods_AFCurvedArrowView_Tests; 551 | SDKROOT = iphoneos; 552 | SKIP_INSTALL = YES; 553 | TARGETED_DEVICE_FAMILY = "1,2"; 554 | VERSIONING_SYSTEM = "apple-generic"; 555 | VERSION_INFO_PREFIX = ""; 556 | }; 557 | name = Debug; 558 | }; 559 | B10E625B50F1A8FC66F79A4637C2D510 /* Release */ = { 560 | isa = XCBuildConfiguration; 561 | baseConfigurationReference = FAE10C250C9D3B241B876ACFF345336B /* Pods-AFCurvedArrowView_Example.release.xcconfig */; 562 | buildSettings = { 563 | CODE_SIGN_IDENTITY = ""; 564 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 565 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 566 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 567 | CURRENT_PROJECT_VERSION = 1; 568 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 569 | DEFINES_MODULE = YES; 570 | DYLIB_COMPATIBILITY_VERSION = 1; 571 | DYLIB_CURRENT_VERSION = 1; 572 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 573 | ENABLE_STRICT_OBJC_MSGSEND = YES; 574 | GCC_NO_COMMON_BLOCKS = YES; 575 | INFOPLIST_FILE = "Target Support Files/Pods-AFCurvedArrowView_Example/Info.plist"; 576 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 577 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 578 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 579 | MACH_O_TYPE = staticlib; 580 | MODULEMAP_FILE = "Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example.modulemap"; 581 | MTL_ENABLE_DEBUG_INFO = NO; 582 | OTHER_LDFLAGS = ""; 583 | OTHER_LIBTOOLFLAGS = ""; 584 | PODS_ROOT = "$(SRCROOT)"; 585 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 586 | PRODUCT_NAME = Pods_AFCurvedArrowView_Example; 587 | SDKROOT = iphoneos; 588 | SKIP_INSTALL = YES; 589 | TARGETED_DEVICE_FAMILY = "1,2"; 590 | VERSIONING_SYSTEM = "apple-generic"; 591 | VERSION_INFO_PREFIX = ""; 592 | }; 593 | name = Release; 594 | }; 595 | C104F7F091290C3D1E248192F07FE689 /* Debug */ = { 596 | isa = XCBuildConfiguration; 597 | buildSettings = { 598 | ALWAYS_SEARCH_USER_PATHS = NO; 599 | CLANG_ANALYZER_NONNULL = YES; 600 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; 601 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 602 | CLANG_CXX_LIBRARY = "libc++"; 603 | CLANG_ENABLE_MODULES = YES; 604 | CLANG_ENABLE_OBJC_ARC = YES; 605 | CLANG_WARN_BOOL_CONVERSION = YES; 606 | CLANG_WARN_CONSTANT_CONVERSION = YES; 607 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 608 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 609 | CLANG_WARN_EMPTY_BODY = YES; 610 | CLANG_WARN_ENUM_CONVERSION = YES; 611 | CLANG_WARN_INFINITE_RECURSION = YES; 612 | CLANG_WARN_INT_CONVERSION = YES; 613 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 614 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 615 | CLANG_WARN_UNREACHABLE_CODE = YES; 616 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 617 | CODE_SIGNING_REQUIRED = NO; 618 | COPY_PHASE_STRIP = NO; 619 | ENABLE_TESTABILITY = YES; 620 | GCC_C_LANGUAGE_STANDARD = gnu99; 621 | GCC_DYNAMIC_NO_PIC = NO; 622 | GCC_OPTIMIZATION_LEVEL = 0; 623 | GCC_PREPROCESSOR_DEFINITIONS = ( 624 | "POD_CONFIGURATION_DEBUG=1", 625 | "DEBUG=1", 626 | "$(inherited)", 627 | ); 628 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 629 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 630 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 631 | GCC_WARN_UNDECLARED_SELECTOR = YES; 632 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 633 | GCC_WARN_UNUSED_FUNCTION = YES; 634 | GCC_WARN_UNUSED_VARIABLE = YES; 635 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 636 | ONLY_ACTIVE_ARCH = YES; 637 | PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; 638 | STRIP_INSTALLED_PRODUCT = NO; 639 | SYMROOT = "${SRCROOT}/../build"; 640 | }; 641 | name = Debug; 642 | }; 643 | D723D27978995BC535DED7047FFD2423 /* Debug */ = { 644 | isa = XCBuildConfiguration; 645 | baseConfigurationReference = 5E6CE69107C8D0411BE87DE823AC6657 /* Pods-AFCurvedArrowView_Example.debug.xcconfig */; 646 | buildSettings = { 647 | CODE_SIGN_IDENTITY = ""; 648 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 649 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 650 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 651 | CURRENT_PROJECT_VERSION = 1; 652 | DEBUG_INFORMATION_FORMAT = dwarf; 653 | DEFINES_MODULE = YES; 654 | DYLIB_COMPATIBILITY_VERSION = 1; 655 | DYLIB_CURRENT_VERSION = 1; 656 | DYLIB_INSTALL_NAME_BASE = "@rpath"; 657 | ENABLE_STRICT_OBJC_MSGSEND = YES; 658 | GCC_NO_COMMON_BLOCKS = YES; 659 | INFOPLIST_FILE = "Target Support Files/Pods-AFCurvedArrowView_Example/Info.plist"; 660 | INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 661 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 662 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 663 | MACH_O_TYPE = staticlib; 664 | MODULEMAP_FILE = "Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example.modulemap"; 665 | MTL_ENABLE_DEBUG_INFO = YES; 666 | OTHER_LDFLAGS = ""; 667 | OTHER_LIBTOOLFLAGS = ""; 668 | PODS_ROOT = "$(SRCROOT)"; 669 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 670 | PRODUCT_NAME = Pods_AFCurvedArrowView_Example; 671 | SDKROOT = iphoneos; 672 | SKIP_INSTALL = YES; 673 | TARGETED_DEVICE_FAMILY = "1,2"; 674 | VERSIONING_SYSTEM = "apple-generic"; 675 | VERSION_INFO_PREFIX = ""; 676 | }; 677 | name = Debug; 678 | }; 679 | /* End XCBuildConfiguration section */ 680 | 681 | /* Begin XCConfigurationList section */ 682 | 2474A7C7503440A29260206920E706CB /* Build configuration list for PBXNativeTarget "Pods-AFCurvedArrowView_Example" */ = { 683 | isa = XCConfigurationList; 684 | buildConfigurations = ( 685 | D723D27978995BC535DED7047FFD2423 /* Debug */, 686 | B10E625B50F1A8FC66F79A4637C2D510 /* Release */, 687 | ); 688 | defaultConfigurationIsVisible = 0; 689 | defaultConfigurationName = Release; 690 | }; 691 | 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { 692 | isa = XCConfigurationList; 693 | buildConfigurations = ( 694 | C104F7F091290C3D1E248192F07FE689 /* Debug */, 695 | 34FE9531DA9AF2820790339988D5FF41 /* Release */, 696 | ); 697 | defaultConfigurationIsVisible = 0; 698 | defaultConfigurationName = Release; 699 | }; 700 | 39DC01B8D4D1F0DF5D5014A35962C289 /* Build configuration list for PBXNativeTarget "Pods-AFCurvedArrowView_Tests" */ = { 701 | isa = XCConfigurationList; 702 | buildConfigurations = ( 703 | AE47C35CE32F7731CDE7991FC5B7A739 /* Debug */, 704 | 27F19A8EA200CE02E01A49392F79EB43 /* Release */, 705 | ); 706 | defaultConfigurationIsVisible = 0; 707 | defaultConfigurationName = Release; 708 | }; 709 | 97EA864E81304B36F3B17E614A4330C8 /* Build configuration list for PBXNativeTarget "AFCurvedArrowView" */ = { 710 | isa = XCConfigurationList; 711 | buildConfigurations = ( 712 | A8702B6DD86D5DA4A9563482EE05C0AA /* Debug */, 713 | 9DCA9920DD3B7711B17229A30458A122 /* Release */, 714 | ); 715 | defaultConfigurationIsVisible = 0; 716 | defaultConfigurationName = Release; 717 | }; 718 | /* End XCConfigurationList section */ 719 | }; 720 | rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; 721 | } 722 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AFCurvedArrowView/AFCurvedArrowView-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_AFCurvedArrowView : NSObject 3 | @end 4 | @implementation PodsDummy_AFCurvedArrowView 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AFCurvedArrowView/AFCurvedArrowView-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AFCurvedArrowView/AFCurvedArrowView-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "AFCurvedArrowView.h" 14 | 15 | FOUNDATION_EXPORT double AFCurvedArrowViewVersionNumber; 16 | FOUNDATION_EXPORT const unsigned char AFCurvedArrowViewVersionString[]; 17 | 18 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AFCurvedArrowView/AFCurvedArrowView.modulemap: -------------------------------------------------------------------------------- 1 | framework module AFCurvedArrowView { 2 | umbrella header "AFCurvedArrowView-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AFCurvedArrowView/AFCurvedArrowView.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/AFCurvedArrowView 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" 4 | PODS_BUILD_DIR = $BUILD_DIR 5 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/AFCurvedArrowView/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 0.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## AFCurvedArrowView 5 | 6 | Copyright (c) 2017 Anton Filimonov 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Copyright (c) 2017 Anton Filimonov <anton.s.filimonov@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | AFCurvedArrowView 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AFCurvedArrowView_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AFCurvedArrowView_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | 91 | if [[ "$CONFIGURATION" == "Debug" ]]; then 92 | install_framework "$BUILT_PRODUCTS_DIR/AFCurvedArrowView/AFCurvedArrowView.framework" 93 | fi 94 | if [[ "$CONFIGURATION" == "Release" ]]; then 95 | install_framework "$BUILT_PRODUCTS_DIR/AFCurvedArrowView/AFCurvedArrowView.framework" 96 | fi 97 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 98 | wait 99 | fi 100 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | 4) 25 | TARGET_DEVICE_ARGS="--target-device watch" 26 | ;; 27 | *) 28 | TARGET_DEVICE_ARGS="--target-device mac" 29 | ;; 30 | esac 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "${PODS_ROOT}*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_AFCurvedArrowView_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_AFCurvedArrowView_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFCurvedArrowView" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AFCurvedArrowView/AFCurvedArrowView.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "AFCurvedArrowView" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_AFCurvedArrowView_Example { 2 | umbrella header "Pods-AFCurvedArrowView_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Example/Pods-AFCurvedArrowView_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFCurvedArrowView" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AFCurvedArrowView/AFCurvedArrowView.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -framework "AFCurvedArrowView" 6 | PODS_BUILD_DIR = $BUILD_DIR 7 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 9 | PODS_ROOT = ${SRCROOT}/Pods 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | Generated by CocoaPods - https://cocoapods.org 4 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | Generated by CocoaPods - https://cocoapods.org 18 | Title 19 | 20 | Type 21 | PSGroupSpecifier 22 | 23 | 24 | StringsTable 25 | Acknowledgements 26 | Title 27 | Acknowledgements 28 | 29 | 30 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_AFCurvedArrowView_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_AFCurvedArrowView_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests-frameworks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 5 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 6 | 7 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" 8 | 9 | install_framework() 10 | { 11 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then 12 | local source="${BUILT_PRODUCTS_DIR}/$1" 13 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then 14 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" 15 | elif [ -r "$1" ]; then 16 | local source="$1" 17 | fi 18 | 19 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 20 | 21 | if [ -L "${source}" ]; then 22 | echo "Symlinked..." 23 | source="$(readlink "${source}")" 24 | fi 25 | 26 | # use filter instead of exclude so missing patterns dont' throw errors 27 | echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" 28 | rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" 29 | 30 | local basename 31 | basename="$(basename -s .framework "$1")" 32 | binary="${destination}/${basename}.framework/${basename}" 33 | if ! [ -r "$binary" ]; then 34 | binary="${destination}/${basename}" 35 | fi 36 | 37 | # Strip invalid architectures so "fat" simulator / device frameworks work on device 38 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then 39 | strip_invalid_archs "$binary" 40 | fi 41 | 42 | # Resign the code if required by the build settings to avoid unstable apps 43 | code_sign_if_enabled "${destination}/$(basename "$1")" 44 | 45 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. 46 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then 47 | local swift_runtime_libs 48 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) 49 | for lib in $swift_runtime_libs; do 50 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" 51 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" 52 | code_sign_if_enabled "${destination}/${lib}" 53 | done 54 | fi 55 | } 56 | 57 | # Signs a framework with the provided identity 58 | code_sign_if_enabled() { 59 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then 60 | # Use the current code_sign_identitiy 61 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" 62 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" 63 | 64 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 65 | code_sign_cmd="$code_sign_cmd &" 66 | fi 67 | echo "$code_sign_cmd" 68 | eval "$code_sign_cmd" 69 | fi 70 | } 71 | 72 | # Strip invalid architectures 73 | strip_invalid_archs() { 74 | binary="$1" 75 | # Get architectures for current file 76 | archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" 77 | stripped="" 78 | for arch in $archs; do 79 | if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then 80 | # Strip non-valid architectures in-place 81 | lipo -remove "$arch" -output "$binary" "$binary" || exit 1 82 | stripped="$stripped $arch" 83 | fi 84 | done 85 | if [[ "$stripped" ]]; then 86 | echo "Stripped $binary of architectures:$stripped" 87 | fi 88 | } 89 | 90 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then 91 | wait 92 | fi 93 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | case "${TARGETED_DEVICE_FAMILY}" in 12 | 1,2) 13 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 14 | ;; 15 | 1) 16 | TARGET_DEVICE_ARGS="--target-device iphone" 17 | ;; 18 | 2) 19 | TARGET_DEVICE_ARGS="--target-device ipad" 20 | ;; 21 | 3) 22 | TARGET_DEVICE_ARGS="--target-device tv" 23 | ;; 24 | 4) 25 | TARGET_DEVICE_ARGS="--target-device watch" 26 | ;; 27 | *) 28 | TARGET_DEVICE_ARGS="--target-device mac" 29 | ;; 30 | esac 31 | 32 | install_resource() 33 | { 34 | if [[ "$1" = /* ]] ; then 35 | RESOURCE_PATH="$1" 36 | else 37 | RESOURCE_PATH="${PODS_ROOT}/$1" 38 | fi 39 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 40 | cat << EOM 41 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 42 | EOM 43 | exit 1 44 | fi 45 | case $RESOURCE_PATH in 46 | *.storyboard) 47 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 48 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 49 | ;; 50 | *.xib) 51 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" 52 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 53 | ;; 54 | *.framework) 55 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 56 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 57 | echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 58 | rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 59 | ;; 60 | *.xcdatamodel) 61 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" 62 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 63 | ;; 64 | *.xcdatamodeld) 65 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" 66 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 67 | ;; 68 | *.xcmappingmodel) 69 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" 70 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 71 | ;; 72 | *.xcassets) 73 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 74 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 75 | ;; 76 | *) 77 | echo "$RESOURCE_PATH" 78 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 79 | ;; 80 | esac 81 | } 82 | 83 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 84 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 85 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 86 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 87 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 88 | fi 89 | rm -f "$RESOURCES_TO_COPY" 90 | 91 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 92 | then 93 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 94 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 95 | while read line; do 96 | if [[ $line != "${PODS_ROOT}*" ]]; then 97 | XCASSET_FILES+=("$line") 98 | fi 99 | done <<<"$OTHER_XCASSETS" 100 | 101 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 102 | fi 103 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_AFCurvedArrowView_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_AFCurvedArrowView_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFCurvedArrowView" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AFCurvedArrowView/AFCurvedArrowView.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_AFCurvedArrowView_Tests { 2 | umbrella header "Pods-AFCurvedArrowView_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-AFCurvedArrowView_Tests/Pods-AFCurvedArrowView_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/AFCurvedArrowView" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 4 | OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/AFCurvedArrowView/AFCurvedArrowView.framework/Headers" 5 | PODS_BUILD_DIR = $BUILD_DIR 6 | PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // The contents of this file are implicitly included at the beginning of every test case source file. 2 | 3 | #ifdef __OBJC__ 4 | 5 | 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // AFCurvedArrowViewTests.m 3 | // AFCurvedArrowViewTests 4 | // 5 | // Created by Anton Filimonov on 04/14/2017. 6 | // Copyright (c) 2017 Anton Filimonov. All rights reserved. 7 | // 8 | 9 | @import XCTest; 10 | 11 | @interface Tests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation Tests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | 36 | -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 Anton Filimonov 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Version](https://img.shields.io/cocoapods/v/AFCurvedArrowView.svg?style=flat)](http://cocoapods.org/pods/AFCurvedArrowView) 2 | [![GitHub license](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://github.com/anton-filimonov/AFCurvedArrowView/blob/master/LICENSE) 3 | [![Platform](https://img.shields.io/cocoapods/p/AFCurvedArrowView.svg?style=flat)](http://cocoapods.org/pods/AFCurvedArrowView) 4 | 5 | # AFCurvedArrowView 6 | A view to show a configurable arrow wherever you need. (Mostly useful for user guides) You don’t need to have different images for arrows for different screen sizes. 7 | 8 | ## Installation 9 | * You can install it using cocoapods. Just add `pod 'AFCurvedArrowView'` to your Podfile and run `pod install` 10 | * Or you can just copy files `AFCurvedArrowView.h` and `.m` to your project. 11 | 12 | ## Usage 13 | Create AFCurvedArrowView, tweak it and add to your view like this: 14 | ```Objective-C 15 | AFCurvedArrowView *arrowView = [[AFCurvedArrowView alloc] initWithFrame:CGRectMake(100.0, 100.0, 200.0, 200.0)]; 16 | arrowView.arrowHeadHeight = 20.0; 17 | arrowView.arrowHeadWidth = 10.0; 18 | arrowView.arrowTail = CGPointZero; 19 | arrowView.arrowHead = CGPointMake(1.0, 0.7); 20 | arrowView.controlPoint1 = CGPointMake(-0.3, 1.3); 21 | arrowView.curveType = AFCurveTypeQuadratic; 22 | [self.view addSubview:arrowView]; 23 | ``` 24 | 25 | Or you can add it in your nibs or storyboards and tweak it’s IBInspectable properties. 26 | 27 | ## Screenshot 28 | ### iPhone 29 | 30 | ![](sample.gif) 31 | 32 | ## License 33 | The MIT License (MIT) 34 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj -------------------------------------------------------------------------------- /sample.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/anton-filimonov/AFCurvedArrowView/3acf8d81fec5e4e9e1981f631542019e0cc73be0/sample.gif --------------------------------------------------------------------------------