Skip to content

Commit

Permalink
remove cocoapods support
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwulf committed Oct 23, 2021
1 parent 1bd515a commit b3cc822
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions PerformanceBezier/PerformanceBezier.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,6 @@

#define CGPointNotFound CGPointMake(CGFLOAT_MAX, CGFLOAT_MAX)

// SwiftPackageManager needs imports to be "", while frameworks generally want <>
// It's unfortunately not enough to `#if SWIFT_PACKAGE`, as if PerformanceBezier
// is a dependency of another SPM package, then the SWIFT_PACKAGE seems to not be
// set when building that dependency. So instead, we'll choose based off of Cocoapods

#if SWIFT_PACKAGE || !COCOAPODS
#import "UIBezierPath+Center.h"
#import "UIBezierPath+Clockwise.h"
#import "UIBezierPath+Description.h"
Expand All @@ -25,16 +19,3 @@
#import "UIBezierPath+Util.h"
#import "UIBezierPathProperties.h"
#import <Foundation/Foundation.h>
#else
#import <PerformanceBezier/UIBezierPath+Center.h>
#import <PerformanceBezier/UIBezierPath+Clockwise.h>
#import <PerformanceBezier/UIBezierPath+Description.h>
#import <PerformanceBezier/UIBezierPath+Equals.h>
#import <PerformanceBezier/UIBezierPath+NSOSX.h>
#import <PerformanceBezier/UIBezierPath+Ahmed.h>
#import <PerformanceBezier/UIBezierPath+Performance.h>
#import <PerformanceBezier/UIBezierPath+Trim.h>
#import <PerformanceBezier/UIBezierPath+Util.h>
#import <PerformanceBezier/UIBezierPathProperties.h>
#import <Foundation/Foundation.h>
#endif

0 comments on commit b3cc822

Please sign in to comment.