├── .gitignore
├── Charts
├── SSLineChart.swift
└── SSLineChartData.swift
├── Example
├── Podfile
├── Podfile.lock
├── Pods
│ ├── Local Podspecs
│ │ └── SSLineChart.podspec.json
│ ├── Manifest.lock
│ ├── Pods.xcodeproj
│ │ ├── project.pbxproj
│ │ └── project.xcworkspace
│ │ │ ├── contents.xcworkspacedata
│ │ │ └── xcshareddata
│ │ │ └── IDEWorkspaceChecks.plist
│ └── Target Support Files
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit App
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit App-Info.plist
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit App-acknowledgements.markdown
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit App-acknowledgements.plist
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit App-dummy.m
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit App-frameworks.sh
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit App-umbrella.h
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit App.debug.xcconfig
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit App.modulemap
│ │ └── Pods-SSLineChart_Example (watchOS) WatchKit App.release.xcconfig
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit Extension
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit Extension-Info.plist
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit Extension-acknowledgements.markdown
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit Extension-acknowledgements.plist
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit Extension-dummy.m
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit Extension-frameworks.sh
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit Extension-umbrella.h
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit Extension.debug.xcconfig
│ │ ├── Pods-SSLineChart_Example (watchOS) WatchKit Extension.modulemap
│ │ └── Pods-SSLineChart_Example (watchOS) WatchKit Extension.release.xcconfig
│ │ ├── Pods-SSLineChart_Example
│ │ ├── Pods-SSLineChart_Example-Info.plist
│ │ ├── Pods-SSLineChart_Example-acknowledgements.markdown
│ │ ├── Pods-SSLineChart_Example-acknowledgements.plist
│ │ ├── Pods-SSLineChart_Example-dummy.m
│ │ ├── Pods-SSLineChart_Example-frameworks.sh
│ │ ├── Pods-SSLineChart_Example-umbrella.h
│ │ ├── Pods-SSLineChart_Example.debug.xcconfig
│ │ ├── Pods-SSLineChart_Example.modulemap
│ │ └── Pods-SSLineChart_Example.release.xcconfig
│ │ ├── Pods-SSLineChart_Tests
│ │ ├── Pods-SSLineChart_Tests-Info.plist
│ │ ├── Pods-SSLineChart_Tests-acknowledgements.markdown
│ │ ├── Pods-SSLineChart_Tests-acknowledgements.plist
│ │ ├── Pods-SSLineChart_Tests-dummy.m
│ │ ├── Pods-SSLineChart_Tests-umbrella.h
│ │ ├── Pods-SSLineChart_Tests.debug.xcconfig
│ │ ├── Pods-SSLineChart_Tests.modulemap
│ │ └── Pods-SSLineChart_Tests.release.xcconfig
│ │ ├── SSLineChart-iOS
│ │ ├── SSLineChart-iOS-Info.plist
│ │ ├── SSLineChart-iOS-dummy.m
│ │ ├── SSLineChart-iOS-prefix.pch
│ │ ├── SSLineChart-iOS-umbrella.h
│ │ ├── SSLineChart-iOS.debug.xcconfig
│ │ ├── SSLineChart-iOS.modulemap
│ │ └── SSLineChart-iOS.release.xcconfig
│ │ └── SSLineChart-watchOS
│ │ ├── SSLineChart-watchOS-Info.plist
│ │ ├── SSLineChart-watchOS-dummy.m
│ │ ├── SSLineChart-watchOS-prefix.pch
│ │ ├── SSLineChart-watchOS-umbrella.h
│ │ ├── SSLineChart-watchOS.debug.xcconfig
│ │ ├── SSLineChart-watchOS.modulemap
│ │ └── SSLineChart-watchOS.release.xcconfig
├── SSLineChart.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ └── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── xcschemes
│ │ ├── SSLineChart-Example.xcscheme
│ │ ├── SSLineChart_Example (watchOS) WatchKit App (Complication).xcscheme
│ │ └── SSLineChart_Example (watchOS) WatchKit App.xcscheme
├── SSLineChart.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
├── SSLineChart
│ ├── AppDelegate.swift
│ ├── Base.lproj
│ │ ├── LaunchScreen.xib
│ │ └── Main.storyboard
│ ├── Images.xcassets
│ │ └── AppIcon.appiconset
│ │ │ └── Contents.json
│ ├── Info.plist
│ └── ViewController.swift
├── SSLineChart_Example (watchOS) WatchKit App
│ ├── Assets.xcassets
│ │ ├── AccentColor.colorset
│ │ │ └── Contents.json
│ │ ├── AppIcon.appiconset
│ │ │ └── Contents.json
│ │ └── Contents.json
│ └── Base.lproj
│ │ └── Interface.storyboard
├── SSLineChart_Example (watchOS) WatchKit Extension
│ ├── Assets.xcassets
│ │ ├── Complication.complicationset
│ │ │ ├── Circular.imageset
│ │ │ │ └── Contents.json
│ │ │ ├── Contents.json
│ │ │ ├── Extra Large.imageset
│ │ │ │ └── Contents.json
│ │ │ ├── Graphic Bezel.imageset
│ │ │ │ └── Contents.json
│ │ │ ├── Graphic Circular.imageset
│ │ │ │ └── Contents.json
│ │ │ ├── Graphic Corner.imageset
│ │ │ │ └── Contents.json
│ │ │ ├── Graphic Extra Large.imageset
│ │ │ │ └── Contents.json
│ │ │ ├── Graphic Large Rectangular.imageset
│ │ │ │ └── Contents.json
│ │ │ ├── Modular.imageset
│ │ │ │ └── Contents.json
│ │ │ └── Utilitarian.imageset
│ │ │ │ └── Contents.json
│ │ └── Contents.json
│ ├── ComplicationController.swift
│ ├── ExtensionDelegate.swift
│ ├── Info.plist
│ └── InterfaceController.swift
└── Tests
│ ├── Info.plist
│ └── Tests.swift
├── LICENSE
├── README.md
├── SSLineChart.podspec
├── SSLineChart
├── Assets
│ └── .gitkeep
└── Classes
│ └── .gitkeep
├── _Pods.xcodeproj
├── gradientGraph.png
└── lineGraph.png
/.gitignore:
--------------------------------------------------------------------------------
1 | # Xcode
2 | #
3 | # gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
4 |
5 | ## User settings
6 | xcuserdata/
7 |
8 | ## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
9 | *.xcscmblueprint
10 | *.xccheckout
11 |
12 | ## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
13 | build/
14 | DerivedData/
15 | *.moved-aside
16 | *.pbxuser
17 | !default.pbxuser
18 | *.mode1v3
19 | !default.mode1v3
20 | *.mode2v3
21 | !default.mode2v3
22 | *.perspectivev3
23 | !default.perspectivev3
24 |
25 | ## Obj-C/Swift specific
26 | *.hmap
27 |
28 | ## App packaging
29 | *.ipa
30 | *.dSYM.zip
31 | *.dSYM
32 |
33 | ## Playgrounds
34 | timeline.xctimeline
35 | playground.xcworkspace
36 |
37 | # Swift Package Manager
38 | #
39 | # Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
40 | # Packages/
41 | # Package.pins
42 | # Package.resolved
43 | # *.xcodeproj
44 | #
45 | # Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
46 | # hence it is not needed unless you have added a package configuration file to your project
47 | # .swiftpm
48 |
49 | .build/
50 |
51 | # CocoaPods
52 | #
53 | # We recommend against adding the Pods directory to your .gitignore. However
54 | # you should judge for yourself, the pros and cons are mentioned at:
55 | # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
56 | #
57 | # Pods/
58 | #
59 | # Add this line if you want to avoid checking in source code from the Xcode workspace
60 | # *.xcworkspace
61 |
62 | # Carthage
63 | #
64 | # Add this line if you want to avoid checking in source code from Carthage dependencies.
65 | # Carthage/Checkouts
66 |
67 | Carthage/Build/
68 |
69 | # Accio dependency management
70 | Dependencies/
71 | .accio/
72 |
73 | # fastlane
74 | #
75 | # It is recommended to not store the screenshots in the git repo.
76 | # Instead, use fastlane to re-generate the screenshots whenever they are needed.
77 | # For more information about the recommended setup visit:
78 | # https://docs.fastlane.tools/best-practices/source-control/#source-control
79 |
80 | fastlane/report.xml
81 | fastlane/Preview.html
82 | fastlane/screenshots/**/*.png
83 | fastlane/test_output
84 |
85 | # Code Injection
86 | #
87 | # After new code Injection tools there's a generated folder /iOSInjectionProject
88 | # https://github.com/johnno1962/injectionforxcode
89 |
90 | iOSInjectionProject/
91 |
--------------------------------------------------------------------------------
/Charts/SSLineChart.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SSLineChart.swift
3 | //
4 | // Created by Hitarth on 17/02/22.
5 | // Copyright © 2022 Simform. All rights reserved.
6 | //
7 |
8 | #if os(iOS)
9 | import UIKit
10 | #else
11 | import WatchKit
12 | #endif
13 |
14 | import CoreGraphics
15 |
16 | public class SSLineChart: NSObject {
17 |
18 | private var frame = CGRect.zero
19 | private var chartPath: [UIBezierPath]?
20 | private var pointPath: [UIBezierPath]?
21 | private var endPointsOfPath: [CGPoint]?
22 | private var pathPoints: [CGPoint]?
23 | private var chartCavanHeight: CGFloat = 0.0
24 | private var chartCavanWidth: CGFloat = 0.0
25 | private var newPositionY: CGFloat = 0
26 | private var lastPostionY: CGFloat = 0
27 | private var yValueMax: CGFloat = 0.0
28 | private var yValueMin: CGFloat = 0.0
29 | private var yLabelNum = 0
30 | private var yLabelBlockFormatter: ((CGFloat) -> String)?
31 |
32 | // Gradient Color Variables
33 | private var startPoint: CGPoint = CGPoint()
34 | private var endPoint: CGPoint = CGPoint()
35 | private var gradientColor: CFArray = [] as CFArray
36 |
37 | // MARK: - Public accesible variales.
38 |
39 | /// Set whole chart background color.
40 | public var chartBackgroundColor: UIColor?
41 | /// Set chart data and its properties.
42 | public var chartData: [SSLineChartData]?
43 | /// Set margin from x and y axis, Default is 15.
44 | public var chartMargin: CGFloat = 0.0
45 | /// Set x-axis labels.
46 | public var xLabels: [String]?
47 | /// Set y-axis labels.
48 | public var yLabels: [String]?
49 | /// Set width of x-axis labels (Space required by axis labels).
50 | public var xLabelWidth: CGFloat = 0.0
51 | /// Set x-axis labels font.
52 | public var xLabelFont: UIFont?
53 | /// Set x-axis labels color.
54 | public var xLabelColor: UIColor?
55 | /// Add additional spacing to bottom and top of the charts for line.
56 | public var yPadding: CGFloat = 0.0
57 | /// Set y-axis labels Font.
58 | public var yLabelFont: UIFont?
59 | /// Set y-axis labels color.
60 | public var yLabelColor: UIColor?
61 | /// Set width of x-axis labels (Space required by axis labels).
62 | public var yLabelHeight: CGFloat = 0.0
63 | /// Set maximum range of y-axis data points to draw line.
64 | public var yFixedValueMax: CGFloat = 0.0
65 | /// Set minimum range of y-axis data points to draw line.
66 | public var yFixedValueMin: CGFloat = 0.0
67 | /// Set string formate of y-axis labels.
68 | public var yLabelFormat: String = "%1f"
69 | /// Show y-axis labels (Default true).
70 | public var showYLabels: Bool = true
71 | /// Show x-axis labels (Default true).
72 | public var showXLabels: Bool = true
73 |
74 | public init(x: CGFloat = 0, y: CGFloat = 0, width: CGFloat = 300, height: CGFloat = 100) {
75 | super.init()
76 | self.frame = CGRect(x: x, y: y, width: width, height: height)
77 | setupDefaultValues()
78 | }
79 |
80 | private func setupDefaultValues() {
81 | // Initialization code
82 | pathPoints = []
83 | endPointsOfPath = []
84 |
85 | yFixedValueMin = -Double.greatestFiniteMagnitude
86 | yFixedValueMax = -Double.greatestFiniteMagnitude
87 | yLabelNum = Int(5.0)
88 | yLabelHeight = 8
89 |
90 | chartMargin = 15
91 | chartCavanWidth = frame.size.width - chartMargin * 2
92 | chartCavanHeight = frame.size.height - chartMargin * 2
93 | }
94 |
95 | // MARK: - Set Gradient Color.
96 | /// Used to fill gradient color to the path area.
97 | /// - Parameters:
98 | /// - colors: Requies array of colors.
99 | /// - position: Set direction of gredient color for start and end point.
100 | public func setGradientColor(colors: [UIColor], position: GradientPosition = .topDown) {
101 | (self.startPoint, self.endPoint) = position.getPosition(frame: frame)
102 |
103 | guard let cgColors = (colors.cgColors() as CFArray?) else { return }
104 | self.gradientColor = cgColors
105 | }
106 |
107 | // MARK: - Draw Graph Image.
108 |
109 | /// Used to draw chart image for provided data.
110 | /// - Returns: `UIImage` of chart.
111 | public func drawImage() -> UIImage? {
112 | var scale: CGFloat = 0.0
113 | #if os(iOS)
114 | scale = UIScreen.main.scale
115 | #else
116 | scale = WKInterfaceDevice.current().screenScale
117 | #endif
118 |
119 | UIGraphicsBeginImageContextWithOptions(frame.size, false, scale)
120 | if (chartBackgroundColor != nil) {
121 | let chartRect = UIBezierPath(rect: frame)
122 | chartBackgroundColor?.setFill()
123 | chartRect.fill()
124 | }
125 | drawYLabels()
126 | drawXLabels()
127 | drawLines()
128 |
129 | let image = UIGraphicsGetImageFromCurrentImageContext()
130 | UIGraphicsEndImageContext()
131 | return image
132 | }
133 |
134 | // MARK: - Line Drawing Method.
135 | private func drawLines() {
136 | chartPath = []
137 | pointPath = []
138 |
139 | calculateChartPath(&chartPath!, andPointsPath: &pointPath!, andPathKeyPoints: &pathPoints!, andPathStartEndPoints: &endPointsOfPath!)
140 |
141 | for lineIndex in 0..<(self.chartData?.count ?? 0) {
142 | let chartData = self.chartData?[lineIndex]
143 |
144 | let chartLinePath = chartPath?[lineIndex]
145 | let pointPath = self.pointPath?[lineIndex]
146 |
147 | if ((chartData?.lineColor) != nil) {
148 | chartData?.lineColor?.withAlphaComponent(chartData?.lineAlpha ?? 0.0).setStroke()
149 | } else {
150 | UIColor.green.setStroke()
151 | }
152 | chartLinePath?.lineWidth = CGFloat(chartData?.lineWidth ?? 0.6)
153 | chartLinePath?.stroke()
154 | pointPath?.stroke()
155 | }
156 | }
157 |
158 | // MARK: - Calculate chart path method.
159 | private func calculateChartPath(_ chartPath: inout [UIBezierPath], andPointsPath pointsPath: inout [UIBezierPath], andPathKeyPoints pathPoints: inout [CGPoint], andPathStartEndPoints pointsOfPath: inout [CGPoint]) {
160 |
161 | for lineIndex in 0..<(self.chartData?.count ?? 0) {
162 | let chartData = self.chartData?[lineIndex]
163 | var yValue: CGFloat = 0.0
164 | var innerGrade: CGFloat = 0.0
165 |
166 | let progressline = UIBezierPath()
167 | let pointPath = UIBezierPath()
168 | let fillGradientFive = UIBezierPath()
169 |
170 | if newPositionY != 0 && newPositionY > lastPostionY {
171 | lastPostionY = newPositionY
172 | fillGradientFive.move(to: CGPoint(x: frame.size.width, y: lastPostionY + 14))
173 | }
174 |
175 | chartPath.insert(progressline, at: lineIndex)
176 | pointsPath.insert(pointPath, at: lineIndex)
177 |
178 | if !showXLabels && !showYLabels {
179 | chartCavanHeight = frame.size.height - 2 * yLabelHeight
180 | chartCavanWidth = frame.size.width
181 | xLabelWidth = (chartCavanWidth / CGFloat((xLabels?.count ?? 0) - 1))
182 | }
183 |
184 | var linePointsArray: [CGPoint] = []
185 | var lineStartEndPointsArray: [CGPoint] = []
186 | var lastX = 0
187 | var lastY = 0
188 | var lastYValue = 0
189 | let midYValue = Int(yFixedValueMax + yFixedValueMin) / 2
190 | let midMaxValue = (midYValue + Int(yFixedValueMax)) / 2
191 | let midMinValue = (midYValue + Int(yFixedValueMin)) / 2
192 |
193 | for i in 0..<(chartData?.itemCount ?? 0) {
194 | yValue = chartData?.getData?(i) ?? 0
195 |
196 | if i != 0 || i != ((chartData?.itemCount ?? 0) - 1) {
197 | if yValue > CGFloat(lastYValue) {
198 | if yValue > CGFloat(midYValue) {
199 | if yValue >= CGFloat(midMaxValue) {
200 |
201 | //yValue = yValue
202 | } else {
203 | yValue = yValue + yPadding
204 | }
205 | } else {
206 | yValue = yValue + yPadding
207 | }
208 | } else {
209 | if yValue < CGFloat(midYValue) {
210 | if yValue <= CGFloat(midMinValue) {
211 |
212 | //yValue = yValue
213 | } else {
214 | yValue = yValue - yPadding
215 | }
216 | } else {
217 | yValue = yValue - yPadding
218 | }
219 | }
220 | }
221 | lastYValue = Int(yValue)
222 | if (yValueMax - yValueMin) == 0 {
223 | innerGrade = 0.5
224 | } else {
225 | innerGrade = (yValue - yValueMin) / (yValueMax - yValueMin)
226 | }
227 |
228 | let offSetX = chartCavanWidth / CGFloat(chartData?.itemCount ?? 0)
229 |
230 | var x = Int(2 * chartMargin + (CGFloat(i) * offSetX))
231 |
232 | if i == (chartData?.itemCount ?? 0) - 1 {
233 | x = Int(frame.size.width)
234 | }
235 |
236 | let y = Int(chartCavanHeight - (innerGrade * chartCavanHeight) + (yLabelHeight / 2))
237 |
238 | if i != 0 {
239 | let deltaX: CGFloat = CGFloat(x - lastX)
240 | let controlPointX = lastX + (Int(deltaX) / 2)
241 | let controlPoint1 = CGPoint(x: controlPointX, y: lastY)
242 | let controlPoint2 = CGPoint(x: controlPointX, y: y)
243 |
244 | progressline.addCurve(to: CGPoint(x: x , y: y), controlPoint1: controlPoint1, controlPoint2: controlPoint2)
245 | lineStartEndPointsArray.append(CGPoint(x: x , y: y))
246 | }
247 |
248 | progressline.move(to: CGPoint(x: x , y: y))
249 | newPositionY = CGFloat(y )
250 |
251 | if i == 0 {
252 | if lastPostionY < CGFloat(y) {
253 | lastPostionY = CGFloat(y)
254 | }
255 | fillGradientFive.move(to: CGPoint(x: frame.size.width, y: frame.height - (chartMargin * 1.2)))
256 | fillGradientFive.addLine(to: CGPoint(x: x, y: Int(frame.height - (chartMargin * 1.2))))
257 | }
258 |
259 | if i != 0 {
260 | let deltaX: CGFloat = CGFloat(x - lastX)
261 | let controlPointX = lastX + (Int(deltaX) / 2)
262 | let controlPoint1 = CGPoint(x: controlPointX, y: lastY)
263 | let controlPoint2 = CGPoint(x: controlPointX, y: y)
264 |
265 | fillGradientFive.addCurve(to: CGPoint(x: x, y: y), controlPoint1: controlPoint1, controlPoint2: controlPoint2)
266 | }
267 |
268 | lastX = x
269 | lastY = y
270 |
271 | fillGradientFive.addLine(to: CGPoint(x: x, y: y))
272 |
273 | if i != (chartData?.itemCount ?? 0) - 1 {
274 | lineStartEndPointsArray.append(CGPoint(x: x, y: y))
275 | }
276 |
277 | linePointsArray.append(CGPoint(x: x, y: y))
278 |
279 | } // For Loop
280 |
281 | let context = UIGraphicsGetCurrentContext()
282 | context?.saveGState()
283 | let colorSpace = CGColorSpaceCreateDeviceRGB()
284 | let gradient: CGGradient? = CGGradient(colorsSpace: colorSpace, colors: gradientColor, locations: nil)
285 | fillGradientFive.addClip()
286 | if let gradient = gradient {
287 | context?.drawLinearGradient(gradient, start: startPoint, end: endPoint, options: [])
288 | }
289 | context?.restoreGState()
290 |
291 | pathPoints.append(contentsOf: linePointsArray)
292 | pointsOfPath.append(contentsOf: lineStartEndPointsArray)
293 |
294 | }
295 | }
296 |
297 | // MARK: - Label drawing methods.
298 | private func drawXLabels() {
299 | if showXLabels {
300 | xLabelWidth = (chartCavanWidth / Double(xLabels?.count ?? 0))
301 | } else {
302 | xLabelWidth = ((frame.size.width) / Double(xLabels?.count ?? 0))
303 | }
304 |
305 | xLabelWidth = xLabelWidth + (xLabelWidth / Double(xLabels?.count ?? 0))
306 |
307 | var attributesDictionary: [NSAttributedString.Key : Any] = [:]
308 | xLabelFont = UIFont.systemFont(ofSize: chartMargin/1.5)
309 | attributesDictionary[.font] = xLabelFont
310 | if (xLabelColor != nil) {
311 | attributesDictionary[.foregroundColor] = xLabelColor
312 | }
313 |
314 | let priceParagraphStyle = NSMutableParagraphStyle()
315 | priceParagraphStyle.lineBreakMode = .byTruncatingTail
316 | priceParagraphStyle.alignment = .center
317 | attributesDictionary[.paragraphStyle] = priceParagraphStyle
318 |
319 | var labelText: String?
320 | if showXLabels {
321 | for index in 0..<(xLabels?.count ?? 0) {
322 | labelText = xLabels?[index]
323 |
324 | let x = 2 * chartMargin + (CGFloat(index) * xLabelWidth) - (xLabelWidth / 2)
325 | let y = chartMargin + chartCavanHeight
326 |
327 | let labelRect = CGRect(x: x, y: y, width: xLabelWidth, height: chartMargin)
328 | labelText?.draw(in: labelRect, withAttributes: attributesDictionary)
329 | }
330 | }
331 | }
332 |
333 | private func drawYLabels() {
334 | prepareYLabels(withData: chartData)
335 | yLabelNum = (yLabels?.count ?? 0) - 1
336 |
337 | if showYLabels {
338 | yLabelHeight = (chartCavanHeight / CGFloat(yLabels?.count ?? 0))
339 | } else {
340 | yLabelHeight = ((frame.size.height) / CGFloat(yLabels?.count ?? 0))
341 | }
342 |
343 | let yStep: CGFloat = (yValueMax - yValueMin) / CGFloat(yLabelNum)
344 | let yStepHeight: CGFloat = chartCavanHeight / CGFloat(yLabelNum)
345 |
346 | var attributesDictionary: [NSAttributedString.Key : Any] = [:]
347 | yLabelFont = UIFont.systemFont(ofSize: chartMargin/1.5)
348 | attributesDictionary[.font] = yLabelFont
349 | attributesDictionary[.foregroundColor] = yLabelColor
350 |
351 | let priceParagraphStyle = NSParagraphStyle.default as? NSMutableParagraphStyle
352 | priceParagraphStyle?.lineBreakMode = .byTruncatingTail
353 | priceParagraphStyle?.alignment = .center
354 | attributesDictionary[.paragraphStyle] = priceParagraphStyle
355 |
356 | if showYLabels {
357 | if yStep == 0.0 {
358 | let minLabelRect = CGRect(x: 0.0, y: CGFloat(Int(chartCavanHeight)), width: CGFloat(Int(chartMargin)), height: CGFloat(Int(yLabelHeight)))
359 | let minLabelText = formatYLabel(0.0)
360 | minLabelText?.draw(in: minLabelRect, withAttributes: attributesDictionary)
361 |
362 | let midLabelRect = CGRect(x: 0.0, y: CGFloat(Int(chartCavanHeight / 2)), width: CGFloat(Int(chartMargin)), height: CGFloat(Int(yLabelHeight)))
363 | let midLabelText = formatYLabel(yValueMax)
364 | midLabelText?.draw(in: midLabelRect, withAttributes: attributesDictionary)
365 |
366 | let maxLabelRect = CGRect(x: 0.0, y: 0.0, width: CGFloat(Int(chartMargin)), height: CGFloat(Int(yLabelHeight)))
367 | let maxLabelText = formatYLabel(yValueMax * 2)
368 | maxLabelText?.draw(in: maxLabelRect, withAttributes: attributesDictionary)
369 |
370 | } else {
371 | var index = 0
372 | var num = yLabelNum + 1
373 |
374 | while num > 0 {
375 | let labelRect = CGRect(x: 0.0, y: (chartCavanHeight - CGFloat(index) * yStepHeight) + (yLabelHeight / 4), width: chartMargin * 2, height: yLabelHeight)
376 | let text = yLabels?[index]
377 | text?.draw(in: labelRect, withAttributes: attributesDictionary)
378 | index += 1
379 | num -= 1
380 | }
381 | }
382 | }
383 | }
384 |
385 | private func prepareYLabels(withData data: [SSLineChartData]?) {
386 | var yMax: CGFloat = 0.0
387 | var yMin = MAXFLOAT
388 | var yLabelsArray: [AnyHashable] = []
389 |
390 | for chartData in data ?? [] {
391 | // create as many chart line layers as there are data-lines
392 | for i in 0..<(chartData.itemCount ?? 0) {
393 | let yValue = chartData.getData?(i) ?? 0
394 | yLabelsArray.append(String(format: "%2f", yValue))
395 | yMax = max(yMax, yValue)
396 | yMin = min(yMin, Float(yValue))
397 | }
398 | }
399 |
400 | if yMax < 5 {
401 | yMax = 5.0
402 | }
403 |
404 | if yMin < 0 {
405 | yMin = 0.0
406 | }
407 |
408 | yValueMin = CGFloat((yFixedValueMin > -Double.greatestFiniteMagnitude) ? Float(yFixedValueMin) : yMin)
409 | yValueMax = (yFixedValueMax > -Double.greatestFiniteMagnitude) ? yFixedValueMax : (yMax + yMax / 10.0)
410 | }
411 |
412 | private func drawText(in ctx: CGContext?, text: String?, in rect: CGRect, font: UIFont?) {
413 | let priceParagraphStyle = NSParagraphStyle.default as? NSMutableParagraphStyle
414 | priceParagraphStyle?.lineBreakMode = .byTruncatingTail
415 | priceParagraphStyle?.alignment = .left
416 |
417 | if let priceParagraphStyle = priceParagraphStyle, let font = font {
418 | text?.draw(
419 | in: rect,
420 | withAttributes: [
421 | NSAttributedString.Key.paragraphStyle: priceParagraphStyle,
422 | NSAttributedString.Key.font: font,
423 | NSAttributedString.Key.foregroundColor: UIColor.white
424 | ])
425 | }
426 | }
427 |
428 | private func formatYLabel(_ value: Double) -> String? {
429 | let format = yLabelFormat
430 | return String(format: format, value)
431 | }
432 |
433 | private func sizeOf(_ text: String?, withWidth width: Float, font: UIFont?) -> CGSize {
434 | var size = CGSize(width: CGFloat(width), height: CGFloat(MAXFLOAT))
435 |
436 | var tdic: [AnyHashable : Any]? = nil
437 | if let font = font {
438 | tdic = [NSAttributedString.Key.font : font]
439 | }
440 | size = text?.boundingRect(
441 | with: size,
442 | options: [.usesLineFragmentOrigin, .usesFontLeading],
443 | attributes: tdic as? [NSAttributedString.Key : Any],
444 | context: nil).size ?? CGSize.zero
445 |
446 | return size
447 | }
448 | }
449 |
450 | // MARK: - Gradient fill position enum.
451 | public enum GradientPosition {
452 | case topDown, bottomUp, leftToRight, rightToLeft
453 |
454 | func getPosition(frame: CGRect) -> (CGPoint, CGPoint) {
455 | let top = CGPoint(x: frame.midX, y: frame.minY)
456 | let bottom = CGPoint(x: frame.midX, y: frame.maxY)
457 | let leading = CGPoint(x: frame.minX, y: frame.midY)
458 | let trailing = CGPoint(x: frame.maxX, y: frame.midY)
459 | switch self {
460 | case .topDown:
461 | return (top, bottom)
462 | case .bottomUp:
463 | return (bottom, top)
464 | case .leftToRight:
465 | return (leading, trailing)
466 | case .rightToLeft:
467 | return (trailing, leading)
468 | }
469 | }
470 | }
471 |
472 | // MARK: - Array extension.
473 | extension Array where Iterator.Element == UIColor {
474 | func cgColors() -> [CGColor] {
475 | var cgColorArray: [CGColor] = []
476 |
477 | for color in self {
478 | cgColorArray.append(color.cgColor)
479 | }
480 |
481 | return cgColorArray
482 | }
483 | }
484 |
--------------------------------------------------------------------------------
/Charts/SSLineChartData.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SSLineChartData.swift
3 | //
4 | // Created by Hitarth on 09/03/22.
5 | // Copyright © 2022 Simform. All rights reserved.
6 | //
7 |
8 | #if os(iOS)
9 | import UIKit
10 | #else
11 | import WatchKit
12 | #endif
13 |
14 | public class SSLineChartData {
15 | public init() {}
16 |
17 | /// Set color of the line.
18 | public var lineColor: UIColor?
19 | /// Requires total data points.
20 | public var itemCount: Int?
21 | /// Set alpha value of line from 0 to 1.
22 | public var lineAlpha: Double?
23 | /// Set width of the line.
24 | public var lineWidth: Double?
25 | /// Set data to chart by index.
26 | public var getData: ((Int) -> CGFloat)?
27 | }
28 |
--------------------------------------------------------------------------------
/Example/Podfile:
--------------------------------------------------------------------------------
1 | use_frameworks!
2 |
3 | platform :ios, '13.0'
4 |
5 | target 'SSLineChart_Example' do
6 | pod 'SSLineChart', :path => '../'
7 |
8 | target 'SSLineChart_Tests' do
9 | inherit! :search_paths
10 |
11 |
12 | end
13 |
14 | target 'SSLineChart_Example (watchOS) WatchKit App' do
15 | platform :watchos, '8.0'
16 |
17 | pod 'SSLineChart', :path => '../'
18 |
19 | end
20 |
21 | target 'SSLineChart_Example (watchOS) WatchKit Extension' do
22 | platform :watchos, '8.0'
23 |
24 | pod 'SSLineChart', :path => '../'
25 | end
26 |
27 |
28 | end
29 |
--------------------------------------------------------------------------------
/Example/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - SSLineChart (0.1.0)
3 |
4 | DEPENDENCIES:
5 | - SSLineChart (from `../`)
6 |
7 | EXTERNAL SOURCES:
8 | SSLineChart:
9 | :path: "../"
10 |
11 | SPEC CHECKSUMS:
12 | SSLineChart: 60e20e2c42a206f4672a7cc13b5fa686dc84793f
13 |
14 | PODFILE CHECKSUM: bda70b121d7950e9646b0e900a3e1fec42a64083
15 |
16 | COCOAPODS: 1.11.3
17 |
--------------------------------------------------------------------------------
/Example/Pods/Local Podspecs/SSLineChart.podspec.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "SSLineChart",
3 | "version": "0.1.0",
4 | "summary": "A short description of SSLineChart.",
5 | "description": "TODO: Add long description of the pod here.",
6 | "homepage": "https://github.com/Hitarth/SSLineChart",
7 | "license": {
8 | "type": "MIT",
9 | "file": "LICENSE"
10 | },
11 | "authors": {
12 | "Hitarth": "hitarth.b@simformsolutions.com"
13 | },
14 | "source": {
15 | "git": "https://github.com/Hitarth/SSLineChart.git",
16 | "tag": "0.1.0"
17 | },
18 | "platforms": {
19 | "ios": "13.0",
20 | "watchos": "8.0"
21 | },
22 | "source_files": "Charts/**/*.swift"
23 | }
24 |
--------------------------------------------------------------------------------
/Example/Pods/Manifest.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - SSLineChart (0.1.0)
3 |
4 | DEPENDENCIES:
5 | - SSLineChart (from `../`)
6 |
7 | EXTERNAL SOURCES:
8 | SSLineChart:
9 | :path: "../"
10 |
11 | SPEC CHECKSUMS:
12 | SSLineChart: 60e20e2c42a206f4672a7cc13b5fa686dc84793f
13 |
14 | PODFILE CHECKSUM: bda70b121d7950e9646b0e900a3e1fec42a64083
15 |
16 | COCOAPODS: 1.11.3
17 |
--------------------------------------------------------------------------------
/Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit App/Pods-SSLineChart_Example (watchOS) WatchKit App-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-SSLineChart_Example (watchOS) WatchKit App/Pods-SSLineChart_Example (watchOS) WatchKit App-acknowledgements.markdown:
--------------------------------------------------------------------------------
1 | # Acknowledgements
2 | This application makes use of the following third party libraries:
3 |
4 | ## SSLineChart
5 |
6 | Copyright (c) 2022 Hitarth
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-SSLineChart_Example (watchOS) WatchKit App/Pods-SSLineChart_Example (watchOS) WatchKit App-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) 2022 Hitarth <hitarth.b@simformsolutions.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 | SSLineChart
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-SSLineChart_Example (watchOS) WatchKit App/Pods-SSLineChart_Example (watchOS) WatchKit App-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_Pods_SSLineChart_Example__watchOS__WatchKit_App : NSObject
3 | @end
4 | @implementation PodsDummy_Pods_SSLineChart_Example__watchOS__WatchKit_App
5 | @end
6 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit App/Pods-SSLineChart_Example (watchOS) WatchKit App-frameworks.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 | set -u
4 | set -o pipefail
5 |
6 | function on_error {
7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
8 | }
9 | trap 'on_error $LINENO' ERR
10 |
11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
13 | # frameworks to, so exit 0 (signalling the script phase was successful).
14 | exit 0
15 | fi
16 |
17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
19 |
20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}"
21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
22 | BCSYMBOLMAP_DIR="BCSymbolMaps"
23 |
24 |
25 | # This protects against multiple targets copying the same framework dependency at the same time. The solution
26 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
27 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
28 |
29 | # Copies and strips a vendored framework
30 | install_framework()
31 | {
32 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
33 | local source="${BUILT_PRODUCTS_DIR}/$1"
34 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
35 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
36 | elif [ -r "$1" ]; then
37 | local source="$1"
38 | fi
39 |
40 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
41 |
42 | if [ -L "${source}" ]; then
43 | echo "Symlinked..."
44 | source="$(readlink "${source}")"
45 | fi
46 |
47 | if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then
48 | # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied
49 | find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do
50 | echo "Installing $f"
51 | install_bcsymbolmap "$f" "$destination"
52 | rm "$f"
53 | done
54 | rmdir "${source}/${BCSYMBOLMAP_DIR}"
55 | fi
56 |
57 | # Use filter instead of exclude so missing patterns don't throw errors.
58 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
59 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
60 |
61 | local basename
62 | basename="$(basename -s .framework "$1")"
63 | binary="${destination}/${basename}.framework/${basename}"
64 |
65 | if ! [ -r "$binary" ]; then
66 | binary="${destination}/${basename}"
67 | elif [ -L "${binary}" ]; then
68 | echo "Destination binary is symlinked..."
69 | dirname="$(dirname "${binary}")"
70 | binary="${dirname}/$(readlink "${binary}")"
71 | fi
72 |
73 | # Strip invalid architectures so "fat" simulator / device frameworks work on device
74 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
75 | strip_invalid_archs "$binary"
76 | fi
77 |
78 | # Resign the code if required by the build settings to avoid unstable apps
79 | code_sign_if_enabled "${destination}/$(basename "$1")"
80 |
81 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
82 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
83 | local swift_runtime_libs
84 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u)
85 | for lib in $swift_runtime_libs; do
86 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
87 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
88 | code_sign_if_enabled "${destination}/${lib}"
89 | done
90 | fi
91 | }
92 | # Copies and strips a vendored dSYM
93 | install_dsym() {
94 | local source="$1"
95 | warn_missing_arch=${2:-true}
96 | if [ -r "$source" ]; then
97 | # Copy the dSYM into the targets temp dir.
98 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
99 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
100 |
101 | local basename
102 | basename="$(basename -s .dSYM "$source")"
103 | binary_name="$(ls "$source/Contents/Resources/DWARF")"
104 | binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}"
105 |
106 | # Strip invalid architectures from the dSYM.
107 | if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then
108 | strip_invalid_archs "$binary" "$warn_missing_arch"
109 | fi
110 | if [[ $STRIP_BINARY_RETVAL == 0 ]]; then
111 | # Move the stripped file into its final destination.
112 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
113 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
114 | else
115 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
116 | mkdir -p "${DWARF_DSYM_FOLDER_PATH}"
117 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM"
118 | fi
119 | fi
120 | }
121 |
122 | # Used as a return value for each invocation of `strip_invalid_archs` function.
123 | STRIP_BINARY_RETVAL=0
124 |
125 | # Strip invalid architectures
126 | strip_invalid_archs() {
127 | binary="$1"
128 | warn_missing_arch=${2:-true}
129 | # Get architectures for current target binary
130 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
131 | # Intersect them with the architectures we are building for
132 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
133 | # If there are no archs supported by this binary then warn the user
134 | if [[ -z "$intersected_archs" ]]; then
135 | if [[ "$warn_missing_arch" == "true" ]]; then
136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
137 | fi
138 | STRIP_BINARY_RETVAL=1
139 | return
140 | fi
141 | stripped=""
142 | for arch in $binary_archs; do
143 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then
144 | # Strip non-valid architectures in-place
145 | lipo -remove "$arch" -output "$binary" "$binary"
146 | stripped="$stripped $arch"
147 | fi
148 | done
149 | if [[ "$stripped" ]]; then
150 | echo "Stripped $binary of architectures:$stripped"
151 | fi
152 | STRIP_BINARY_RETVAL=0
153 | }
154 |
155 | # Copies the bcsymbolmap files of a vendored framework
156 | install_bcsymbolmap() {
157 | local bcsymbolmap_path="$1"
158 | local destination="${BUILT_PRODUCTS_DIR}"
159 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}""
160 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"
161 | }
162 |
163 | # Signs a framework with the provided identity
164 | code_sign_if_enabled() {
165 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
166 | # Use the current code_sign_identity
167 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
168 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'"
169 |
170 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
171 | code_sign_cmd="$code_sign_cmd &"
172 | fi
173 | echo "$code_sign_cmd"
174 | eval "$code_sign_cmd"
175 | fi
176 | }
177 |
178 | if [[ "$CONFIGURATION" == "Debug" ]]; then
179 | install_framework "${BUILT_PRODUCTS_DIR}/SSLineChart-watchOS/SSLineChart.framework"
180 | fi
181 | if [[ "$CONFIGURATION" == "Release" ]]; then
182 | install_framework "${BUILT_PRODUCTS_DIR}/SSLineChart-watchOS/SSLineChart.framework"
183 | fi
184 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
185 | wait
186 | fi
187 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit App/Pods-SSLineChart_Example (watchOS) WatchKit App-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_SSLineChart_Example__watchOS__WatchKit_AppVersionNumber;
15 | FOUNDATION_EXPORT const unsigned char Pods_SSLineChart_Example__watchOS__WatchKit_AppVersionString[];
16 |
17 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit App/Pods-SSLineChart_Example (watchOS) WatchKit App.debug.xcconfig:
--------------------------------------------------------------------------------
1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-watchOS"
4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-watchOS/SSLineChart.framework/Headers"
6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
7 | LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
8 | OTHER_LDFLAGS = $(inherited) -framework "SSLineChart"
9 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
10 | PODS_BUILD_DIR = ${BUILD_DIR}
11 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
12 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
13 | PODS_ROOT = ${SRCROOT}/Pods
14 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
16 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit App/Pods-SSLineChart_Example (watchOS) WatchKit App.modulemap:
--------------------------------------------------------------------------------
1 | framework module Pods_SSLineChart_Example__watchOS__WatchKit_App {
2 | umbrella header "Pods-SSLineChart_Example (watchOS) WatchKit App-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit App/Pods-SSLineChart_Example (watchOS) WatchKit App.release.xcconfig:
--------------------------------------------------------------------------------
1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-watchOS"
4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-watchOS/SSLineChart.framework/Headers"
6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
7 | LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
8 | OTHER_LDFLAGS = $(inherited) -framework "SSLineChart"
9 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
10 | PODS_BUILD_DIR = ${BUILD_DIR}
11 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
12 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
13 | PODS_ROOT = ${SRCROOT}/Pods
14 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
16 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit Extension/Pods-SSLineChart_Example (watchOS) WatchKit Extension-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-SSLineChart_Example (watchOS) WatchKit Extension/Pods-SSLineChart_Example (watchOS) WatchKit Extension-acknowledgements.markdown:
--------------------------------------------------------------------------------
1 | # Acknowledgements
2 | This application makes use of the following third party libraries:
3 |
4 | ## SSLineChart
5 |
6 | Copyright (c) 2022 Hitarth
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-SSLineChart_Example (watchOS) WatchKit Extension/Pods-SSLineChart_Example (watchOS) WatchKit Extension-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) 2022 Hitarth <hitarth.b@simformsolutions.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 | SSLineChart
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-SSLineChart_Example (watchOS) WatchKit Extension/Pods-SSLineChart_Example (watchOS) WatchKit Extension-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_Pods_SSLineChart_Example__watchOS__WatchKit_Extension : NSObject
3 | @end
4 | @implementation PodsDummy_Pods_SSLineChart_Example__watchOS__WatchKit_Extension
5 | @end
6 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit Extension/Pods-SSLineChart_Example (watchOS) WatchKit Extension-frameworks.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 | set -u
4 | set -o pipefail
5 |
6 | function on_error {
7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
8 | }
9 | trap 'on_error $LINENO' ERR
10 |
11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
13 | # frameworks to, so exit 0 (signalling the script phase was successful).
14 | exit 0
15 | fi
16 |
17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
19 |
20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}"
21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
22 | BCSYMBOLMAP_DIR="BCSymbolMaps"
23 |
24 |
25 | # This protects against multiple targets copying the same framework dependency at the same time. The solution
26 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
27 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
28 |
29 | # Copies and strips a vendored framework
30 | install_framework()
31 | {
32 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
33 | local source="${BUILT_PRODUCTS_DIR}/$1"
34 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
35 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
36 | elif [ -r "$1" ]; then
37 | local source="$1"
38 | fi
39 |
40 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
41 |
42 | if [ -L "${source}" ]; then
43 | echo "Symlinked..."
44 | source="$(readlink "${source}")"
45 | fi
46 |
47 | if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then
48 | # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied
49 | find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do
50 | echo "Installing $f"
51 | install_bcsymbolmap "$f" "$destination"
52 | rm "$f"
53 | done
54 | rmdir "${source}/${BCSYMBOLMAP_DIR}"
55 | fi
56 |
57 | # Use filter instead of exclude so missing patterns don't throw errors.
58 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
59 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
60 |
61 | local basename
62 | basename="$(basename -s .framework "$1")"
63 | binary="${destination}/${basename}.framework/${basename}"
64 |
65 | if ! [ -r "$binary" ]; then
66 | binary="${destination}/${basename}"
67 | elif [ -L "${binary}" ]; then
68 | echo "Destination binary is symlinked..."
69 | dirname="$(dirname "${binary}")"
70 | binary="${dirname}/$(readlink "${binary}")"
71 | fi
72 |
73 | # Strip invalid architectures so "fat" simulator / device frameworks work on device
74 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
75 | strip_invalid_archs "$binary"
76 | fi
77 |
78 | # Resign the code if required by the build settings to avoid unstable apps
79 | code_sign_if_enabled "${destination}/$(basename "$1")"
80 |
81 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
82 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
83 | local swift_runtime_libs
84 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u)
85 | for lib in $swift_runtime_libs; do
86 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
87 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
88 | code_sign_if_enabled "${destination}/${lib}"
89 | done
90 | fi
91 | }
92 | # Copies and strips a vendored dSYM
93 | install_dsym() {
94 | local source="$1"
95 | warn_missing_arch=${2:-true}
96 | if [ -r "$source" ]; then
97 | # Copy the dSYM into the targets temp dir.
98 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
99 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
100 |
101 | local basename
102 | basename="$(basename -s .dSYM "$source")"
103 | binary_name="$(ls "$source/Contents/Resources/DWARF")"
104 | binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}"
105 |
106 | # Strip invalid architectures from the dSYM.
107 | if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then
108 | strip_invalid_archs "$binary" "$warn_missing_arch"
109 | fi
110 | if [[ $STRIP_BINARY_RETVAL == 0 ]]; then
111 | # Move the stripped file into its final destination.
112 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
113 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
114 | else
115 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
116 | mkdir -p "${DWARF_DSYM_FOLDER_PATH}"
117 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM"
118 | fi
119 | fi
120 | }
121 |
122 | # Used as a return value for each invocation of `strip_invalid_archs` function.
123 | STRIP_BINARY_RETVAL=0
124 |
125 | # Strip invalid architectures
126 | strip_invalid_archs() {
127 | binary="$1"
128 | warn_missing_arch=${2:-true}
129 | # Get architectures for current target binary
130 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
131 | # Intersect them with the architectures we are building for
132 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
133 | # If there are no archs supported by this binary then warn the user
134 | if [[ -z "$intersected_archs" ]]; then
135 | if [[ "$warn_missing_arch" == "true" ]]; then
136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
137 | fi
138 | STRIP_BINARY_RETVAL=1
139 | return
140 | fi
141 | stripped=""
142 | for arch in $binary_archs; do
143 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then
144 | # Strip non-valid architectures in-place
145 | lipo -remove "$arch" -output "$binary" "$binary"
146 | stripped="$stripped $arch"
147 | fi
148 | done
149 | if [[ "$stripped" ]]; then
150 | echo "Stripped $binary of architectures:$stripped"
151 | fi
152 | STRIP_BINARY_RETVAL=0
153 | }
154 |
155 | # Copies the bcsymbolmap files of a vendored framework
156 | install_bcsymbolmap() {
157 | local bcsymbolmap_path="$1"
158 | local destination="${BUILT_PRODUCTS_DIR}"
159 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}""
160 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"
161 | }
162 |
163 | # Signs a framework with the provided identity
164 | code_sign_if_enabled() {
165 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
166 | # Use the current code_sign_identity
167 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
168 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'"
169 |
170 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
171 | code_sign_cmd="$code_sign_cmd &"
172 | fi
173 | echo "$code_sign_cmd"
174 | eval "$code_sign_cmd"
175 | fi
176 | }
177 |
178 | if [[ "$CONFIGURATION" == "Debug" ]]; then
179 | install_framework "${BUILT_PRODUCTS_DIR}/SSLineChart-watchOS/SSLineChart.framework"
180 | fi
181 | if [[ "$CONFIGURATION" == "Release" ]]; then
182 | install_framework "${BUILT_PRODUCTS_DIR}/SSLineChart-watchOS/SSLineChart.framework"
183 | fi
184 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
185 | wait
186 | fi
187 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit Extension/Pods-SSLineChart_Example (watchOS) WatchKit Extension-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_SSLineChart_Example__watchOS__WatchKit_ExtensionVersionNumber;
15 | FOUNDATION_EXPORT const unsigned char Pods_SSLineChart_Example__watchOS__WatchKit_ExtensionVersionString[];
16 |
17 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit Extension/Pods-SSLineChart_Example (watchOS) WatchKit Extension.debug.xcconfig:
--------------------------------------------------------------------------------
1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-watchOS"
4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-watchOS/SSLineChart.framework/Headers"
6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
7 | LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
8 | OTHER_LDFLAGS = $(inherited) -framework "SSLineChart"
9 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
10 | PODS_BUILD_DIR = ${BUILD_DIR}
11 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
12 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
13 | PODS_ROOT = ${SRCROOT}/Pods
14 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
16 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit Extension/Pods-SSLineChart_Example (watchOS) WatchKit Extension.modulemap:
--------------------------------------------------------------------------------
1 | framework module Pods_SSLineChart_Example__watchOS__WatchKit_Extension {
2 | umbrella header "Pods-SSLineChart_Example (watchOS) WatchKit Extension-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit Extension/Pods-SSLineChart_Example (watchOS) WatchKit Extension.release.xcconfig:
--------------------------------------------------------------------------------
1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-watchOS"
4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-watchOS/SSLineChart.framework/Headers"
6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
7 | LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
8 | OTHER_LDFLAGS = $(inherited) -framework "SSLineChart"
9 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
10 | PODS_BUILD_DIR = ${BUILD_DIR}
11 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
12 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
13 | PODS_ROOT = ${SRCROOT}/Pods
14 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
16 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example/Pods-SSLineChart_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-SSLineChart_Example/Pods-SSLineChart_Example-acknowledgements.markdown:
--------------------------------------------------------------------------------
1 | # Acknowledgements
2 | This application makes use of the following third party libraries:
3 |
4 | ## SSLineChart
5 |
6 | Copyright (c) 2022 Hitarth
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-SSLineChart_Example/Pods-SSLineChart_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) 2022 Hitarth <hitarth.b@simformsolutions.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 | SSLineChart
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-SSLineChart_Example/Pods-SSLineChart_Example-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_Pods_SSLineChart_Example : NSObject
3 | @end
4 | @implementation PodsDummy_Pods_SSLineChart_Example
5 | @end
6 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example/Pods-SSLineChart_Example-frameworks.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | set -e
3 | set -u
4 | set -o pipefail
5 |
6 | function on_error {
7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure"
8 | }
9 | trap 'on_error $LINENO' ERR
10 |
11 | if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
12 | # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
13 | # frameworks to, so exit 0 (signalling the script phase was successful).
14 | exit 0
15 | fi
16 |
17 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
18 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
19 |
20 | COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}"
21 | SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
22 | BCSYMBOLMAP_DIR="BCSymbolMaps"
23 |
24 |
25 | # This protects against multiple targets copying the same framework dependency at the same time. The solution
26 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
27 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
28 |
29 | # Copies and strips a vendored framework
30 | install_framework()
31 | {
32 | if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
33 | local source="${BUILT_PRODUCTS_DIR}/$1"
34 | elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
35 | local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
36 | elif [ -r "$1" ]; then
37 | local source="$1"
38 | fi
39 |
40 | local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
41 |
42 | if [ -L "${source}" ]; then
43 | echo "Symlinked..."
44 | source="$(readlink "${source}")"
45 | fi
46 |
47 | if [ -d "${source}/${BCSYMBOLMAP_DIR}" ]; then
48 | # Locate and install any .bcsymbolmaps if present, and remove them from the .framework before the framework is copied
49 | find "${source}/${BCSYMBOLMAP_DIR}" -name "*.bcsymbolmap"|while read f; do
50 | echo "Installing $f"
51 | install_bcsymbolmap "$f" "$destination"
52 | rm "$f"
53 | done
54 | rmdir "${source}/${BCSYMBOLMAP_DIR}"
55 | fi
56 |
57 | # Use filter instead of exclude so missing patterns don't throw errors.
58 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
59 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
60 |
61 | local basename
62 | basename="$(basename -s .framework "$1")"
63 | binary="${destination}/${basename}.framework/${basename}"
64 |
65 | if ! [ -r "$binary" ]; then
66 | binary="${destination}/${basename}"
67 | elif [ -L "${binary}" ]; then
68 | echo "Destination binary is symlinked..."
69 | dirname="$(dirname "${binary}")"
70 | binary="${dirname}/$(readlink "${binary}")"
71 | fi
72 |
73 | # Strip invalid architectures so "fat" simulator / device frameworks work on device
74 | if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
75 | strip_invalid_archs "$binary"
76 | fi
77 |
78 | # Resign the code if required by the build settings to avoid unstable apps
79 | code_sign_if_enabled "${destination}/$(basename "$1")"
80 |
81 | # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
82 | if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
83 | local swift_runtime_libs
84 | swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u)
85 | for lib in $swift_runtime_libs; do
86 | echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
87 | rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
88 | code_sign_if_enabled "${destination}/${lib}"
89 | done
90 | fi
91 | }
92 | # Copies and strips a vendored dSYM
93 | install_dsym() {
94 | local source="$1"
95 | warn_missing_arch=${2:-true}
96 | if [ -r "$source" ]; then
97 | # Copy the dSYM into the targets temp dir.
98 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
99 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
100 |
101 | local basename
102 | basename="$(basename -s .dSYM "$source")"
103 | binary_name="$(ls "$source/Contents/Resources/DWARF")"
104 | binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}"
105 |
106 | # Strip invalid architectures from the dSYM.
107 | if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then
108 | strip_invalid_archs "$binary" "$warn_missing_arch"
109 | fi
110 | if [[ $STRIP_BINARY_RETVAL == 0 ]]; then
111 | # Move the stripped file into its final destination.
112 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
113 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
114 | else
115 | # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
116 | mkdir -p "${DWARF_DSYM_FOLDER_PATH}"
117 | touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM"
118 | fi
119 | fi
120 | }
121 |
122 | # Used as a return value for each invocation of `strip_invalid_archs` function.
123 | STRIP_BINARY_RETVAL=0
124 |
125 | # Strip invalid architectures
126 | strip_invalid_archs() {
127 | binary="$1"
128 | warn_missing_arch=${2:-true}
129 | # Get architectures for current target binary
130 | binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
131 | # Intersect them with the architectures we are building for
132 | intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
133 | # If there are no archs supported by this binary then warn the user
134 | if [[ -z "$intersected_archs" ]]; then
135 | if [[ "$warn_missing_arch" == "true" ]]; then
136 | echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
137 | fi
138 | STRIP_BINARY_RETVAL=1
139 | return
140 | fi
141 | stripped=""
142 | for arch in $binary_archs; do
143 | if ! [[ "${ARCHS}" == *"$arch"* ]]; then
144 | # Strip non-valid architectures in-place
145 | lipo -remove "$arch" -output "$binary" "$binary"
146 | stripped="$stripped $arch"
147 | fi
148 | done
149 | if [[ "$stripped" ]]; then
150 | echo "Stripped $binary of architectures:$stripped"
151 | fi
152 | STRIP_BINARY_RETVAL=0
153 | }
154 |
155 | # Copies the bcsymbolmap files of a vendored framework
156 | install_bcsymbolmap() {
157 | local bcsymbolmap_path="$1"
158 | local destination="${BUILT_PRODUCTS_DIR}"
159 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}""
160 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"
161 | }
162 |
163 | # Signs a framework with the provided identity
164 | code_sign_if_enabled() {
165 | if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
166 | # Use the current code_sign_identity
167 | echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
168 | local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'"
169 |
170 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
171 | code_sign_cmd="$code_sign_cmd &"
172 | fi
173 | echo "$code_sign_cmd"
174 | eval "$code_sign_cmd"
175 | fi
176 | }
177 |
178 | if [[ "$CONFIGURATION" == "Debug" ]]; then
179 | install_framework "${BUILT_PRODUCTS_DIR}/SSLineChart-iOS/SSLineChart.framework"
180 | fi
181 | if [[ "$CONFIGURATION" == "Release" ]]; then
182 | install_framework "${BUILT_PRODUCTS_DIR}/SSLineChart-iOS/SSLineChart.framework"
183 | fi
184 | if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
185 | wait
186 | fi
187 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example/Pods-SSLineChart_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_SSLineChart_ExampleVersionNumber;
15 | FOUNDATION_EXPORT const unsigned char Pods_SSLineChart_ExampleVersionString[];
16 |
17 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example/Pods-SSLineChart_Example.debug.xcconfig:
--------------------------------------------------------------------------------
1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-iOS"
4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-iOS/SSLineChart.framework/Headers"
6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
7 | LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
8 | OTHER_LDFLAGS = $(inherited) -framework "SSLineChart"
9 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
10 | PODS_BUILD_DIR = ${BUILD_DIR}
11 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
12 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
13 | PODS_ROOT = ${SRCROOT}/Pods
14 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
16 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example/Pods-SSLineChart_Example.modulemap:
--------------------------------------------------------------------------------
1 | framework module Pods_SSLineChart_Example {
2 | umbrella header "Pods-SSLineChart_Example-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Example/Pods-SSLineChart_Example.release.xcconfig:
--------------------------------------------------------------------------------
1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-iOS"
4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
5 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-iOS/SSLineChart.framework/Headers"
6 | LD_RUNPATH_SEARCH_PATHS = $(inherited) /usr/lib/swift '@executable_path/Frameworks' '@loader_path/Frameworks'
7 | LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
8 | OTHER_LDFLAGS = $(inherited) -framework "SSLineChart"
9 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
10 | PODS_BUILD_DIR = ${BUILD_DIR}
11 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
12 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
13 | PODS_ROOT = ${SRCROOT}/Pods
14 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
15 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
16 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Tests/Pods-SSLineChart_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-SSLineChart_Tests/Pods-SSLineChart_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-SSLineChart_Tests/Pods-SSLineChart_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-SSLineChart_Tests/Pods-SSLineChart_Tests-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_Pods_SSLineChart_Tests : NSObject
3 | @end
4 | @implementation PodsDummy_Pods_SSLineChart_Tests
5 | @end
6 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Tests/Pods-SSLineChart_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_SSLineChart_TestsVersionNumber;
15 | FOUNDATION_EXPORT const unsigned char Pods_SSLineChart_TestsVersionString[];
16 |
17 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Tests/Pods-SSLineChart_Tests.debug.xcconfig:
--------------------------------------------------------------------------------
1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-iOS"
3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-iOS/SSLineChart.framework/Headers"
5 | OTHER_LDFLAGS = $(inherited) -framework "SSLineChart"
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 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
12 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Tests/Pods-SSLineChart_Tests.modulemap:
--------------------------------------------------------------------------------
1 | framework module Pods_SSLineChart_Tests {
2 | umbrella header "Pods-SSLineChart_Tests-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/Pods-SSLineChart_Tests/Pods-SSLineChart_Tests.release.xcconfig:
--------------------------------------------------------------------------------
1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-iOS"
3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-iOS/SSLineChart.framework/Headers"
5 | OTHER_LDFLAGS = $(inherited) -framework "SSLineChart"
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 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
12 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SSLineChart-iOS/SSLineChart-iOS-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/SSLineChart-iOS/SSLineChart-iOS-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_SSLineChart_iOS : NSObject
3 | @end
4 | @implementation PodsDummy_SSLineChart_iOS
5 | @end
6 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SSLineChart-iOS/SSLineChart-iOS-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/SSLineChart-iOS/SSLineChart-iOS-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 SSLineChartVersionNumber;
15 | FOUNDATION_EXPORT const unsigned char SSLineChartVersionString[];
16 |
17 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SSLineChart-iOS/SSLineChart-iOS.debug.xcconfig:
--------------------------------------------------------------------------------
1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-iOS
3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
4 | LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
5 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
6 | PODS_BUILD_DIR = ${BUILD_DIR}
7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_ROOT = ${SRCROOT}
9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../..
10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
11 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
12 | SKIP_INSTALL = YES
13 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
14 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SSLineChart-iOS/SSLineChart-iOS.modulemap:
--------------------------------------------------------------------------------
1 | framework module SSLineChart {
2 | umbrella header "SSLineChart-iOS-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SSLineChart-iOS/SSLineChart-iOS.release.xcconfig:
--------------------------------------------------------------------------------
1 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-iOS
3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
4 | LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
5 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
6 | PODS_BUILD_DIR = ${BUILD_DIR}
7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
8 | PODS_ROOT = ${SRCROOT}
9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../..
10 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
11 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
12 | SKIP_INSTALL = YES
13 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
14 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SSLineChart-watchOS/SSLineChart-watchOS-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/SSLineChart-watchOS/SSLineChart-watchOS-dummy.m:
--------------------------------------------------------------------------------
1 | #import
2 | @interface PodsDummy_SSLineChart_watchOS : NSObject
3 | @end
4 | @implementation PodsDummy_SSLineChart_watchOS
5 | @end
6 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SSLineChart-watchOS/SSLineChart-watchOS-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/SSLineChart-watchOS/SSLineChart-watchOS-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 SSLineChartVersionNumber;
15 | FOUNDATION_EXPORT const unsigned char SSLineChartVersionString[];
16 |
17 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SSLineChart-watchOS/SSLineChart-watchOS.debug.xcconfig:
--------------------------------------------------------------------------------
1 | APPLICATION_EXTENSION_API_ONLY = YES
2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
3 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-watchOS
4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
5 | LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
7 | PODS_BUILD_DIR = ${BUILD_DIR}
8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
9 | PODS_ROOT = ${SRCROOT}
10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../..
11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
13 | SKIP_INSTALL = YES
14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
15 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SSLineChart-watchOS/SSLineChart-watchOS.modulemap:
--------------------------------------------------------------------------------
1 | framework module SSLineChart {
2 | umbrella header "SSLineChart-watchOS-umbrella.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Example/Pods/Target Support Files/SSLineChart-watchOS/SSLineChart-watchOS.release.xcconfig:
--------------------------------------------------------------------------------
1 | APPLICATION_EXTENSION_API_ONLY = YES
2 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = NO
3 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/SSLineChart-watchOS
4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
5 | LIBRARY_SEARCH_PATHS = $(inherited) "${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" /usr/lib/swift
6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS
7 | PODS_BUILD_DIR = ${BUILD_DIR}
8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
9 | PODS_ROOT = ${SRCROOT}
10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../..
11 | PODS_XCFRAMEWORKS_BUILD_DIR = $(PODS_CONFIGURATION_BUILD_DIR)/XCFrameworkIntermediates
12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
13 | SKIP_INSTALL = YES
14 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES
15 |
--------------------------------------------------------------------------------
/Example/SSLineChart.xcodeproj/project.pbxproj:
--------------------------------------------------------------------------------
1 | // !$*UTF8*$!
2 | {
3 | archiveVersion = 1;
4 | classes = {
5 | };
6 | objectVersion = 46;
7 | objects = {
8 |
9 | /* Begin PBXBuildFile section */
10 | 390E77A615ECAB15FA83B602 /* Pods_SSLineChart_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D0516AACCC9273508A158E9C /* Pods_SSLineChart_Example.framework */; };
11 | 5C6D6C93C4C057744F267618 /* Pods_SSLineChart_Tests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 66A95BA1FCE1EFA3D1917A74 /* Pods_SSLineChart_Tests.framework */; };
12 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; };
13 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD71AFB9204008FA782 /* ViewController.swift */; };
14 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; };
15 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; };
16 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; };
17 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; };
18 | BC13EEAD2861F22D00E49325 /* SSLineChart_Example (watchOS) WatchKit App.app in Embed Watch Content */ = {isa = PBXBuildFile; fileRef = BC13EEAC2861F22D00E49325 /* SSLineChart_Example (watchOS) WatchKit App.app */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
19 | BC13EEB32861F22D00E49325 /* Interface.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BC13EEB12861F22D00E49325 /* Interface.storyboard */; };
20 | BC13EEB52861F22F00E49325 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BC13EEB42861F22F00E49325 /* Assets.xcassets */; };
21 | BC13EEBB2861F22F00E49325 /* SSLineChart_Example (watchOS) WatchKit Extension.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = BC13EEBA2861F22F00E49325 /* SSLineChart_Example (watchOS) WatchKit Extension.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
22 | BC13EEC02861F22F00E49325 /* InterfaceController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC13EEBF2861F22F00E49325 /* InterfaceController.swift */; };
23 | BC13EEC22861F22F00E49325 /* ExtensionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC13EEC12861F22F00E49325 /* ExtensionDelegate.swift */; };
24 | BC13EEC42861F22F00E49325 /* ComplicationController.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC13EEC32861F22F00E49325 /* ComplicationController.swift */; };
25 | BC13EEC62861F23000E49325 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = BC13EEC52861F23000E49325 /* Assets.xcassets */; };
26 | DAB627C4BC1017FA81964A8B /* Pods_SSLineChart_Example__watchOS__WatchKit_Extension.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DCD343C5F63426AF138A62B4 /* Pods_SSLineChart_Example__watchOS__WatchKit_Extension.framework */; };
27 | EDC8BCF408FB8D78C71366A3 /* Pods_SSLineChart_Example__watchOS__WatchKit_App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7EBD7507E566AAB47CB3B9D3 /* Pods_SSLineChart_Example__watchOS__WatchKit_App.framework */; };
28 | /* End PBXBuildFile section */
29 |
30 | /* Begin PBXContainerItemProxy section */
31 | 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = {
32 | isa = PBXContainerItemProxy;
33 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */;
34 | proxyType = 1;
35 | remoteGlobalIDString = 607FACCF1AFB9204008FA782;
36 | remoteInfo = SSLineChart;
37 | };
38 | BC13EEAE2861F22D00E49325 /* PBXContainerItemProxy */ = {
39 | isa = PBXContainerItemProxy;
40 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */;
41 | proxyType = 1;
42 | remoteGlobalIDString = BC13EEAB2861F22D00E49325;
43 | remoteInfo = "SSLineChart_Example (watchOS) WatchKit App";
44 | };
45 | BC13EEBC2861F22F00E49325 /* PBXContainerItemProxy */ = {
46 | isa = PBXContainerItemProxy;
47 | containerPortal = 607FACC81AFB9204008FA782 /* Project object */;
48 | proxyType = 1;
49 | remoteGlobalIDString = BC13EEB92861F22F00E49325;
50 | remoteInfo = "SSLineChart_Example (watchOS) WatchKit Extension";
51 | };
52 | /* End PBXContainerItemProxy section */
53 |
54 | /* Begin PBXCopyFilesBuildPhase section */
55 | BC13EECB2861F23000E49325 /* Embed App Extensions */ = {
56 | isa = PBXCopyFilesBuildPhase;
57 | buildActionMask = 2147483647;
58 | dstPath = "";
59 | dstSubfolderSpec = 13;
60 | files = (
61 | BC13EEBB2861F22F00E49325 /* SSLineChart_Example (watchOS) WatchKit Extension.appex in Embed App Extensions */,
62 | );
63 | name = "Embed App Extensions";
64 | runOnlyForDeploymentPostprocessing = 0;
65 | };
66 | BC13EECF2861F23000E49325 /* Embed Watch Content */ = {
67 | isa = PBXCopyFilesBuildPhase;
68 | buildActionMask = 2147483647;
69 | dstPath = "$(CONTENTS_FOLDER_PATH)/Watch";
70 | dstSubfolderSpec = 16;
71 | files = (
72 | BC13EEAD2861F22D00E49325 /* SSLineChart_Example (watchOS) WatchKit App.app in Embed Watch Content */,
73 | );
74 | name = "Embed Watch Content";
75 | runOnlyForDeploymentPostprocessing = 0;
76 | };
77 | /* End PBXCopyFilesBuildPhase section */
78 |
79 | /* Begin PBXFileReference section */
80 | 11153B44D20ACD0B81238374 /* Pods-SSLineChart_Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SSLineChart_Tests.debug.xcconfig"; path = "Target Support Files/Pods-SSLineChart_Tests/Pods-SSLineChart_Tests.debug.xcconfig"; sourceTree = ""; };
81 | 15A3DA46E00131424CFFF35D /* Pods-SSLineChart_Example (watchOS) WatchKit Extension.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SSLineChart_Example (watchOS) WatchKit Extension.debug.xcconfig"; path = "Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit Extension/Pods-SSLineChart_Example (watchOS) WatchKit Extension.debug.xcconfig"; sourceTree = ""; };
82 | 248CC2E0E25088F6AEFAC73E /* Pods-SSLineChart_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SSLineChart_Example.debug.xcconfig"; path = "Target Support Files/Pods-SSLineChart_Example/Pods-SSLineChart_Example.debug.xcconfig"; sourceTree = ""; };
83 | 45EFAE8A369ABC204A4AB63A /* Pods-SSLineChart_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SSLineChart_Tests.release.xcconfig"; path = "Target Support Files/Pods-SSLineChart_Tests/Pods-SSLineChart_Tests.release.xcconfig"; sourceTree = ""; };
84 | 4EF82F591F317576AE0549AF /* Pods-SSLineChart_Example (watchOS) WatchKit App.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SSLineChart_Example (watchOS) WatchKit App.release.xcconfig"; path = "Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit App/Pods-SSLineChart_Example (watchOS) WatchKit App.release.xcconfig"; sourceTree = ""; };
85 | 5AB432F3FBF39A924DA5C6CA /* SSLineChart.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = SSLineChart.podspec; path = ../SSLineChart.podspec; sourceTree = ""; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
86 | 607FACD01AFB9204008FA782 /* SSLineChart_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SSLineChart_Example.app; sourceTree = BUILT_PRODUCTS_DIR; };
87 | 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
88 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
89 | 607FACD71AFB9204008FA782 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
90 | 607FACDA1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
91 | 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; };
92 | 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; };
93 | 607FACE51AFB9204008FA782 /* SSLineChart_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SSLineChart_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
94 | 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
95 | 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; };
96 | 66A95BA1FCE1EFA3D1917A74 /* Pods_SSLineChart_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SSLineChart_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
97 | 6DC837FC400714FD8E9B63D6 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; };
98 | 729C4DB1D2B68BA7F24BBB04 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; };
99 | 7EBD7507E566AAB47CB3B9D3 /* Pods_SSLineChart_Example__watchOS__WatchKit_App.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SSLineChart_Example__watchOS__WatchKit_App.framework; sourceTree = BUILT_PRODUCTS_DIR; };
100 | ADC2F6313EB7ED99B98D7286 /* Pods-SSLineChart_Example (watchOS) WatchKit Extension.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SSLineChart_Example (watchOS) WatchKit Extension.release.xcconfig"; path = "Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit Extension/Pods-SSLineChart_Example (watchOS) WatchKit Extension.release.xcconfig"; sourceTree = ""; };
101 | BC13EEA92861F22D00E49325 /* SSLineChart_Example (watchOS).app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SSLineChart_Example (watchOS).app"; sourceTree = BUILT_PRODUCTS_DIR; };
102 | BC13EEAC2861F22D00E49325 /* SSLineChart_Example (watchOS) WatchKit App.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "SSLineChart_Example (watchOS) WatchKit App.app"; sourceTree = BUILT_PRODUCTS_DIR; };
103 | BC13EEB22861F22D00E49325 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Interface.storyboard; sourceTree = ""; };
104 | BC13EEB42861F22F00E49325 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
105 | BC13EEBA2861F22F00E49325 /* SSLineChart_Example (watchOS) WatchKit Extension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = "SSLineChart_Example (watchOS) WatchKit Extension.appex"; sourceTree = BUILT_PRODUCTS_DIR; };
106 | BC13EEBF2861F22F00E49325 /* InterfaceController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InterfaceController.swift; sourceTree = ""; };
107 | BC13EEC12861F22F00E49325 /* ExtensionDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ExtensionDelegate.swift; sourceTree = ""; };
108 | BC13EEC32861F22F00E49325 /* ComplicationController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ComplicationController.swift; sourceTree = ""; };
109 | BC13EEC52861F23000E49325 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
110 | BC13EEC72861F23000E49325 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
111 | CB95745ECFA8F9A0725868FD /* Pods-SSLineChart_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SSLineChart_Example.release.xcconfig"; path = "Target Support Files/Pods-SSLineChart_Example/Pods-SSLineChart_Example.release.xcconfig"; sourceTree = ""; };
112 | D0516AACCC9273508A158E9C /* Pods_SSLineChart_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SSLineChart_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; };
113 | DCD343C5F63426AF138A62B4 /* Pods_SSLineChart_Example__watchOS__WatchKit_Extension.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SSLineChart_Example__watchOS__WatchKit_Extension.framework; sourceTree = BUILT_PRODUCTS_DIR; };
114 | E74CF66F21874CA29A91569F /* Pods-SSLineChart_Example (watchOS) WatchKit App.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SSLineChart_Example (watchOS) WatchKit App.debug.xcconfig"; path = "Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit App/Pods-SSLineChart_Example (watchOS) WatchKit App.debug.xcconfig"; sourceTree = ""; };
115 | /* End PBXFileReference section */
116 |
117 | /* Begin PBXFrameworksBuildPhase section */
118 | 607FACCD1AFB9204008FA782 /* Frameworks */ = {
119 | isa = PBXFrameworksBuildPhase;
120 | buildActionMask = 2147483647;
121 | files = (
122 | 390E77A615ECAB15FA83B602 /* Pods_SSLineChart_Example.framework in Frameworks */,
123 | );
124 | runOnlyForDeploymentPostprocessing = 0;
125 | };
126 | 607FACE21AFB9204008FA782 /* Frameworks */ = {
127 | isa = PBXFrameworksBuildPhase;
128 | buildActionMask = 2147483647;
129 | files = (
130 | 5C6D6C93C4C057744F267618 /* Pods_SSLineChart_Tests.framework in Frameworks */,
131 | );
132 | runOnlyForDeploymentPostprocessing = 0;
133 | };
134 | 671A3055E8854B1991F6AF9A /* Frameworks */ = {
135 | isa = PBXFrameworksBuildPhase;
136 | buildActionMask = 2147483647;
137 | files = (
138 | EDC8BCF408FB8D78C71366A3 /* Pods_SSLineChart_Example__watchOS__WatchKit_App.framework in Frameworks */,
139 | );
140 | runOnlyForDeploymentPostprocessing = 0;
141 | };
142 | BC13EEB72861F22F00E49325 /* Frameworks */ = {
143 | isa = PBXFrameworksBuildPhase;
144 | buildActionMask = 2147483647;
145 | files = (
146 | DAB627C4BC1017FA81964A8B /* Pods_SSLineChart_Example__watchOS__WatchKit_Extension.framework in Frameworks */,
147 | );
148 | runOnlyForDeploymentPostprocessing = 0;
149 | };
150 | /* End PBXFrameworksBuildPhase section */
151 |
152 | /* Begin PBXGroup section */
153 | 1E659BAA3A348F4931B4ECEB /* Frameworks */ = {
154 | isa = PBXGroup;
155 | children = (
156 | D0516AACCC9273508A158E9C /* Pods_SSLineChart_Example.framework */,
157 | 66A95BA1FCE1EFA3D1917A74 /* Pods_SSLineChart_Tests.framework */,
158 | 7EBD7507E566AAB47CB3B9D3 /* Pods_SSLineChart_Example__watchOS__WatchKit_App.framework */,
159 | DCD343C5F63426AF138A62B4 /* Pods_SSLineChart_Example__watchOS__WatchKit_Extension.framework */,
160 | );
161 | name = Frameworks;
162 | sourceTree = "";
163 | };
164 | 607FACC71AFB9204008FA782 = {
165 | isa = PBXGroup;
166 | children = (
167 | 607FACF51AFB993E008FA782 /* Podspec Metadata */,
168 | 607FACD21AFB9204008FA782 /* Example for SSLineChart */,
169 | 607FACE81AFB9204008FA782 /* Tests */,
170 | BC13EEB02861F22D00E49325 /* SSLineChart_Example (watchOS) WatchKit App */,
171 | BC13EEBE2861F22F00E49325 /* SSLineChart_Example (watchOS) WatchKit Extension */,
172 | 607FACD11AFB9204008FA782 /* Products */,
173 | EE9183A155476CF237F65AF6 /* Pods */,
174 | 1E659BAA3A348F4931B4ECEB /* Frameworks */,
175 | );
176 | sourceTree = "";
177 | };
178 | 607FACD11AFB9204008FA782 /* Products */ = {
179 | isa = PBXGroup;
180 | children = (
181 | 607FACD01AFB9204008FA782 /* SSLineChart_Example.app */,
182 | 607FACE51AFB9204008FA782 /* SSLineChart_Tests.xctest */,
183 | BC13EEA92861F22D00E49325 /* SSLineChart_Example (watchOS).app */,
184 | BC13EEAC2861F22D00E49325 /* SSLineChart_Example (watchOS) WatchKit App.app */,
185 | BC13EEBA2861F22F00E49325 /* SSLineChart_Example (watchOS) WatchKit Extension.appex */,
186 | );
187 | name = Products;
188 | sourceTree = "";
189 | };
190 | 607FACD21AFB9204008FA782 /* Example for SSLineChart */ = {
191 | isa = PBXGroup;
192 | children = (
193 | 607FACD51AFB9204008FA782 /* AppDelegate.swift */,
194 | 607FACD71AFB9204008FA782 /* ViewController.swift */,
195 | 607FACD91AFB9204008FA782 /* Main.storyboard */,
196 | 607FACDC1AFB9204008FA782 /* Images.xcassets */,
197 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */,
198 | 607FACD31AFB9204008FA782 /* Supporting Files */,
199 | );
200 | name = "Example for SSLineChart";
201 | path = SSLineChart;
202 | sourceTree = "";
203 | };
204 | 607FACD31AFB9204008FA782 /* Supporting Files */ = {
205 | isa = PBXGroup;
206 | children = (
207 | 607FACD41AFB9204008FA782 /* Info.plist */,
208 | );
209 | name = "Supporting Files";
210 | sourceTree = "";
211 | };
212 | 607FACE81AFB9204008FA782 /* Tests */ = {
213 | isa = PBXGroup;
214 | children = (
215 | 607FACEB1AFB9204008FA782 /* Tests.swift */,
216 | 607FACE91AFB9204008FA782 /* Supporting Files */,
217 | );
218 | path = Tests;
219 | sourceTree = "";
220 | };
221 | 607FACE91AFB9204008FA782 /* Supporting Files */ = {
222 | isa = PBXGroup;
223 | children = (
224 | 607FACEA1AFB9204008FA782 /* Info.plist */,
225 | );
226 | name = "Supporting Files";
227 | sourceTree = "";
228 | };
229 | 607FACF51AFB993E008FA782 /* Podspec Metadata */ = {
230 | isa = PBXGroup;
231 | children = (
232 | 5AB432F3FBF39A924DA5C6CA /* SSLineChart.podspec */,
233 | 6DC837FC400714FD8E9B63D6 /* README.md */,
234 | 729C4DB1D2B68BA7F24BBB04 /* LICENSE */,
235 | );
236 | name = "Podspec Metadata";
237 | sourceTree = "";
238 | };
239 | BC13EEB02861F22D00E49325 /* SSLineChart_Example (watchOS) WatchKit App */ = {
240 | isa = PBXGroup;
241 | children = (
242 | BC13EEB12861F22D00E49325 /* Interface.storyboard */,
243 | BC13EEB42861F22F00E49325 /* Assets.xcassets */,
244 | );
245 | path = "SSLineChart_Example (watchOS) WatchKit App";
246 | sourceTree = "";
247 | };
248 | BC13EEBE2861F22F00E49325 /* SSLineChart_Example (watchOS) WatchKit Extension */ = {
249 | isa = PBXGroup;
250 | children = (
251 | BC13EEBF2861F22F00E49325 /* InterfaceController.swift */,
252 | BC13EEC12861F22F00E49325 /* ExtensionDelegate.swift */,
253 | BC13EEC32861F22F00E49325 /* ComplicationController.swift */,
254 | BC13EEC52861F23000E49325 /* Assets.xcassets */,
255 | BC13EEC72861F23000E49325 /* Info.plist */,
256 | );
257 | path = "SSLineChart_Example (watchOS) WatchKit Extension";
258 | sourceTree = "";
259 | };
260 | EE9183A155476CF237F65AF6 /* Pods */ = {
261 | isa = PBXGroup;
262 | children = (
263 | 248CC2E0E25088F6AEFAC73E /* Pods-SSLineChart_Example.debug.xcconfig */,
264 | CB95745ECFA8F9A0725868FD /* Pods-SSLineChart_Example.release.xcconfig */,
265 | 11153B44D20ACD0B81238374 /* Pods-SSLineChart_Tests.debug.xcconfig */,
266 | 45EFAE8A369ABC204A4AB63A /* Pods-SSLineChart_Tests.release.xcconfig */,
267 | E74CF66F21874CA29A91569F /* Pods-SSLineChart_Example (watchOS) WatchKit App.debug.xcconfig */,
268 | 4EF82F591F317576AE0549AF /* Pods-SSLineChart_Example (watchOS) WatchKit App.release.xcconfig */,
269 | 15A3DA46E00131424CFFF35D /* Pods-SSLineChart_Example (watchOS) WatchKit Extension.debug.xcconfig */,
270 | ADC2F6313EB7ED99B98D7286 /* Pods-SSLineChart_Example (watchOS) WatchKit Extension.release.xcconfig */,
271 | );
272 | path = Pods;
273 | sourceTree = "";
274 | };
275 | /* End PBXGroup section */
276 |
277 | /* Begin PBXNativeTarget section */
278 | 607FACCF1AFB9204008FA782 /* SSLineChart_Example */ = {
279 | isa = PBXNativeTarget;
280 | buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SSLineChart_Example" */;
281 | buildPhases = (
282 | 49D9BB9C9FD75F6C4680A0E6 /* [CP] Check Pods Manifest.lock */,
283 | 607FACCC1AFB9204008FA782 /* Sources */,
284 | 607FACCD1AFB9204008FA782 /* Frameworks */,
285 | 607FACCE1AFB9204008FA782 /* Resources */,
286 | C3E48D179E59904B8F6CE3F1 /* [CP] Embed Pods Frameworks */,
287 | );
288 | buildRules = (
289 | );
290 | dependencies = (
291 | );
292 | name = SSLineChart_Example;
293 | productName = SSLineChart;
294 | productReference = 607FACD01AFB9204008FA782 /* SSLineChart_Example.app */;
295 | productType = "com.apple.product-type.application";
296 | };
297 | 607FACE41AFB9204008FA782 /* SSLineChart_Tests */ = {
298 | isa = PBXNativeTarget;
299 | buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SSLineChart_Tests" */;
300 | buildPhases = (
301 | 96BACACA295B5006E0CBF93E /* [CP] Check Pods Manifest.lock */,
302 | 607FACE11AFB9204008FA782 /* Sources */,
303 | 607FACE21AFB9204008FA782 /* Frameworks */,
304 | 607FACE31AFB9204008FA782 /* Resources */,
305 | );
306 | buildRules = (
307 | );
308 | dependencies = (
309 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */,
310 | );
311 | name = SSLineChart_Tests;
312 | productName = Tests;
313 | productReference = 607FACE51AFB9204008FA782 /* SSLineChart_Tests.xctest */;
314 | productType = "com.apple.product-type.bundle.unit-test";
315 | };
316 | BC13EEA82861F22D00E49325 /* SSLineChart_Example (watchOS) */ = {
317 | isa = PBXNativeTarget;
318 | buildConfigurationList = BC13EED02861F23000E49325 /* Build configuration list for PBXNativeTarget "SSLineChart_Example (watchOS)" */;
319 | buildPhases = (
320 | BC13EEA72861F22D00E49325 /* Resources */,
321 | BC13EECF2861F23000E49325 /* Embed Watch Content */,
322 | );
323 | buildRules = (
324 | );
325 | dependencies = (
326 | BC13EEAF2861F22D00E49325 /* PBXTargetDependency */,
327 | );
328 | name = "SSLineChart_Example (watchOS)";
329 | productName = "SSLineChart_Example (watchOS)";
330 | productReference = BC13EEA92861F22D00E49325 /* SSLineChart_Example (watchOS).app */;
331 | productType = "com.apple.product-type.application.watchapp2-container";
332 | };
333 | BC13EEAB2861F22D00E49325 /* SSLineChart_Example (watchOS) WatchKit App */ = {
334 | isa = PBXNativeTarget;
335 | buildConfigurationList = BC13EECC2861F23000E49325 /* Build configuration list for PBXNativeTarget "SSLineChart_Example (watchOS) WatchKit App" */;
336 | buildPhases = (
337 | 83B52746E330EDBFA504B20C /* [CP] Check Pods Manifest.lock */,
338 | BC13EEAA2861F22D00E49325 /* Resources */,
339 | BC13EECB2861F23000E49325 /* Embed App Extensions */,
340 | 671A3055E8854B1991F6AF9A /* Frameworks */,
341 | );
342 | buildRules = (
343 | );
344 | dependencies = (
345 | BC13EEBD2861F22F00E49325 /* PBXTargetDependency */,
346 | );
347 | name = "SSLineChart_Example (watchOS) WatchKit App";
348 | productName = "SSLineChart_Example (watchOS) WatchKit App";
349 | productReference = BC13EEAC2861F22D00E49325 /* SSLineChart_Example (watchOS) WatchKit App.app */;
350 | productType = "com.apple.product-type.application.watchapp2";
351 | };
352 | BC13EEB92861F22F00E49325 /* SSLineChart_Example (watchOS) WatchKit Extension */ = {
353 | isa = PBXNativeTarget;
354 | buildConfigurationList = BC13EEC82861F23000E49325 /* Build configuration list for PBXNativeTarget "SSLineChart_Example (watchOS) WatchKit Extension" */;
355 | buildPhases = (
356 | 60CC1B99771F76B54DF84E10 /* [CP] Check Pods Manifest.lock */,
357 | BC13EEB62861F22F00E49325 /* Sources */,
358 | BC13EEB72861F22F00E49325 /* Frameworks */,
359 | BC13EEB82861F22F00E49325 /* Resources */,
360 | F05D61F6EE085771B82B48D0 /* [CP] Embed Pods Frameworks */,
361 | );
362 | buildRules = (
363 | );
364 | dependencies = (
365 | );
366 | name = "SSLineChart_Example (watchOS) WatchKit Extension";
367 | productName = "SSLineChart_Example (watchOS) WatchKit Extension";
368 | productReference = BC13EEBA2861F22F00E49325 /* SSLineChart_Example (watchOS) WatchKit Extension.appex */;
369 | productType = "com.apple.product-type.watchkit2-extension";
370 | };
371 | /* End PBXNativeTarget section */
372 |
373 | /* Begin PBXProject section */
374 | 607FACC81AFB9204008FA782 /* Project object */ = {
375 | isa = PBXProject;
376 | attributes = {
377 | LastSwiftUpdateCheck = 1330;
378 | LastUpgradeCheck = 1330;
379 | ORGANIZATIONNAME = CocoaPods;
380 | TargetAttributes = {
381 | 607FACCF1AFB9204008FA782 = {
382 | CreatedOnToolsVersion = 6.3.1;
383 | LastSwiftMigration = 0900;
384 | };
385 | 607FACE41AFB9204008FA782 = {
386 | CreatedOnToolsVersion = 6.3.1;
387 | LastSwiftMigration = 0900;
388 | TestTargetID = 607FACCF1AFB9204008FA782;
389 | };
390 | BC13EEA82861F22D00E49325 = {
391 | CreatedOnToolsVersion = 13.3.1;
392 | ProvisioningStyle = Automatic;
393 | };
394 | BC13EEAB2861F22D00E49325 = {
395 | CreatedOnToolsVersion = 13.3.1;
396 | ProvisioningStyle = Automatic;
397 | };
398 | BC13EEB92861F22F00E49325 = {
399 | CreatedOnToolsVersion = 13.3.1;
400 | ProvisioningStyle = Automatic;
401 | };
402 | };
403 | };
404 | buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SSLineChart" */;
405 | compatibilityVersion = "Xcode 3.2";
406 | developmentRegion = en;
407 | hasScannedForEncodings = 0;
408 | knownRegions = (
409 | en,
410 | Base,
411 | );
412 | mainGroup = 607FACC71AFB9204008FA782;
413 | productRefGroup = 607FACD11AFB9204008FA782 /* Products */;
414 | projectDirPath = "";
415 | projectRoot = "";
416 | targets = (
417 | 607FACCF1AFB9204008FA782 /* SSLineChart_Example */,
418 | 607FACE41AFB9204008FA782 /* SSLineChart_Tests */,
419 | BC13EEA82861F22D00E49325 /* SSLineChart_Example (watchOS) */,
420 | BC13EEAB2861F22D00E49325 /* SSLineChart_Example (watchOS) WatchKit App */,
421 | BC13EEB92861F22F00E49325 /* SSLineChart_Example (watchOS) WatchKit Extension */,
422 | );
423 | };
424 | /* End PBXProject section */
425 |
426 | /* Begin PBXResourcesBuildPhase section */
427 | 607FACCE1AFB9204008FA782 /* Resources */ = {
428 | isa = PBXResourcesBuildPhase;
429 | buildActionMask = 2147483647;
430 | files = (
431 | 607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */,
432 | 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */,
433 | 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */,
434 | );
435 | runOnlyForDeploymentPostprocessing = 0;
436 | };
437 | 607FACE31AFB9204008FA782 /* Resources */ = {
438 | isa = PBXResourcesBuildPhase;
439 | buildActionMask = 2147483647;
440 | files = (
441 | );
442 | runOnlyForDeploymentPostprocessing = 0;
443 | };
444 | BC13EEA72861F22D00E49325 /* Resources */ = {
445 | isa = PBXResourcesBuildPhase;
446 | buildActionMask = 2147483647;
447 | files = (
448 | );
449 | runOnlyForDeploymentPostprocessing = 0;
450 | };
451 | BC13EEAA2861F22D00E49325 /* Resources */ = {
452 | isa = PBXResourcesBuildPhase;
453 | buildActionMask = 2147483647;
454 | files = (
455 | BC13EEB52861F22F00E49325 /* Assets.xcassets in Resources */,
456 | BC13EEB32861F22D00E49325 /* Interface.storyboard in Resources */,
457 | );
458 | runOnlyForDeploymentPostprocessing = 0;
459 | };
460 | BC13EEB82861F22F00E49325 /* Resources */ = {
461 | isa = PBXResourcesBuildPhase;
462 | buildActionMask = 2147483647;
463 | files = (
464 | BC13EEC62861F23000E49325 /* Assets.xcassets in Resources */,
465 | );
466 | runOnlyForDeploymentPostprocessing = 0;
467 | };
468 | /* End PBXResourcesBuildPhase section */
469 |
470 | /* Begin PBXShellScriptBuildPhase section */
471 | 49D9BB9C9FD75F6C4680A0E6 /* [CP] Check Pods Manifest.lock */ = {
472 | isa = PBXShellScriptBuildPhase;
473 | buildActionMask = 2147483647;
474 | files = (
475 | );
476 | inputFileListPaths = (
477 | );
478 | inputPaths = (
479 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
480 | "${PODS_ROOT}/Manifest.lock",
481 | );
482 | name = "[CP] Check Pods Manifest.lock";
483 | outputFileListPaths = (
484 | );
485 | outputPaths = (
486 | "$(DERIVED_FILE_DIR)/Pods-SSLineChart_Example-checkManifestLockResult.txt",
487 | );
488 | runOnlyForDeploymentPostprocessing = 0;
489 | shellPath = /bin/sh;
490 | 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# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
491 | showEnvVarsInLog = 0;
492 | };
493 | 60CC1B99771F76B54DF84E10 /* [CP] Check Pods Manifest.lock */ = {
494 | isa = PBXShellScriptBuildPhase;
495 | buildActionMask = 2147483647;
496 | files = (
497 | );
498 | inputFileListPaths = (
499 | );
500 | inputPaths = (
501 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
502 | "${PODS_ROOT}/Manifest.lock",
503 | );
504 | name = "[CP] Check Pods Manifest.lock";
505 | outputFileListPaths = (
506 | );
507 | outputPaths = (
508 | "$(DERIVED_FILE_DIR)/Pods-SSLineChart_Example (watchOS) WatchKit Extension-checkManifestLockResult.txt",
509 | );
510 | runOnlyForDeploymentPostprocessing = 0;
511 | shellPath = /bin/sh;
512 | 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# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
513 | showEnvVarsInLog = 0;
514 | };
515 | 83B52746E330EDBFA504B20C /* [CP] Check Pods Manifest.lock */ = {
516 | isa = PBXShellScriptBuildPhase;
517 | buildActionMask = 2147483647;
518 | files = (
519 | );
520 | inputFileListPaths = (
521 | );
522 | inputPaths = (
523 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
524 | "${PODS_ROOT}/Manifest.lock",
525 | );
526 | name = "[CP] Check Pods Manifest.lock";
527 | outputFileListPaths = (
528 | );
529 | outputPaths = (
530 | "$(DERIVED_FILE_DIR)/Pods-SSLineChart_Example (watchOS) WatchKit App-checkManifestLockResult.txt",
531 | );
532 | runOnlyForDeploymentPostprocessing = 0;
533 | shellPath = /bin/sh;
534 | 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# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
535 | showEnvVarsInLog = 0;
536 | };
537 | 96BACACA295B5006E0CBF93E /* [CP] Check Pods Manifest.lock */ = {
538 | isa = PBXShellScriptBuildPhase;
539 | buildActionMask = 2147483647;
540 | files = (
541 | );
542 | inputFileListPaths = (
543 | );
544 | inputPaths = (
545 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
546 | "${PODS_ROOT}/Manifest.lock",
547 | );
548 | name = "[CP] Check Pods Manifest.lock";
549 | outputFileListPaths = (
550 | );
551 | outputPaths = (
552 | "$(DERIVED_FILE_DIR)/Pods-SSLineChart_Tests-checkManifestLockResult.txt",
553 | );
554 | runOnlyForDeploymentPostprocessing = 0;
555 | shellPath = /bin/sh;
556 | 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# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
557 | showEnvVarsInLog = 0;
558 | };
559 | C3E48D179E59904B8F6CE3F1 /* [CP] Embed Pods Frameworks */ = {
560 | isa = PBXShellScriptBuildPhase;
561 | buildActionMask = 2147483647;
562 | files = (
563 | );
564 | inputPaths = (
565 | "${PODS_ROOT}/Target Support Files/Pods-SSLineChart_Example/Pods-SSLineChart_Example-frameworks.sh",
566 | "${BUILT_PRODUCTS_DIR}/SSLineChart-iOS/SSLineChart.framework",
567 | );
568 | name = "[CP] Embed Pods Frameworks";
569 | outputPaths = (
570 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SSLineChart.framework",
571 | );
572 | runOnlyForDeploymentPostprocessing = 0;
573 | shellPath = /bin/sh;
574 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SSLineChart_Example/Pods-SSLineChart_Example-frameworks.sh\"\n";
575 | showEnvVarsInLog = 0;
576 | };
577 | F05D61F6EE085771B82B48D0 /* [CP] Embed Pods Frameworks */ = {
578 | isa = PBXShellScriptBuildPhase;
579 | buildActionMask = 2147483647;
580 | files = (
581 | );
582 | inputPaths = (
583 | "${PODS_ROOT}/Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit Extension/Pods-SSLineChart_Example (watchOS) WatchKit Extension-frameworks.sh",
584 | "${BUILT_PRODUCTS_DIR}/SSLineChart-watchOS/SSLineChart.framework",
585 | );
586 | name = "[CP] Embed Pods Frameworks";
587 | outputPaths = (
588 | "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/SSLineChart.framework",
589 | );
590 | runOnlyForDeploymentPostprocessing = 0;
591 | shellPath = /bin/sh;
592 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SSLineChart_Example (watchOS) WatchKit Extension/Pods-SSLineChart_Example (watchOS) WatchKit Extension-frameworks.sh\"\n";
593 | showEnvVarsInLog = 0;
594 | };
595 | /* End PBXShellScriptBuildPhase section */
596 |
597 | /* Begin PBXSourcesBuildPhase section */
598 | 607FACCC1AFB9204008FA782 /* Sources */ = {
599 | isa = PBXSourcesBuildPhase;
600 | buildActionMask = 2147483647;
601 | files = (
602 | 607FACD81AFB9204008FA782 /* ViewController.swift in Sources */,
603 | 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */,
604 | );
605 | runOnlyForDeploymentPostprocessing = 0;
606 | };
607 | 607FACE11AFB9204008FA782 /* Sources */ = {
608 | isa = PBXSourcesBuildPhase;
609 | buildActionMask = 2147483647;
610 | files = (
611 | 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */,
612 | );
613 | runOnlyForDeploymentPostprocessing = 0;
614 | };
615 | BC13EEB62861F22F00E49325 /* Sources */ = {
616 | isa = PBXSourcesBuildPhase;
617 | buildActionMask = 2147483647;
618 | files = (
619 | BC13EEC22861F22F00E49325 /* ExtensionDelegate.swift in Sources */,
620 | BC13EEC02861F22F00E49325 /* InterfaceController.swift in Sources */,
621 | BC13EEC42861F22F00E49325 /* ComplicationController.swift in Sources */,
622 | );
623 | runOnlyForDeploymentPostprocessing = 0;
624 | };
625 | /* End PBXSourcesBuildPhase section */
626 |
627 | /* Begin PBXTargetDependency section */
628 | 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = {
629 | isa = PBXTargetDependency;
630 | target = 607FACCF1AFB9204008FA782 /* SSLineChart_Example */;
631 | targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */;
632 | };
633 | BC13EEAF2861F22D00E49325 /* PBXTargetDependency */ = {
634 | isa = PBXTargetDependency;
635 | target = BC13EEAB2861F22D00E49325 /* SSLineChart_Example (watchOS) WatchKit App */;
636 | targetProxy = BC13EEAE2861F22D00E49325 /* PBXContainerItemProxy */;
637 | };
638 | BC13EEBD2861F22F00E49325 /* PBXTargetDependency */ = {
639 | isa = PBXTargetDependency;
640 | target = BC13EEB92861F22F00E49325 /* SSLineChart_Example (watchOS) WatchKit Extension */;
641 | targetProxy = BC13EEBC2861F22F00E49325 /* PBXContainerItemProxy */;
642 | };
643 | /* End PBXTargetDependency section */
644 |
645 | /* Begin PBXVariantGroup section */
646 | 607FACD91AFB9204008FA782 /* Main.storyboard */ = {
647 | isa = PBXVariantGroup;
648 | children = (
649 | 607FACDA1AFB9204008FA782 /* Base */,
650 | );
651 | name = Main.storyboard;
652 | sourceTree = "";
653 | };
654 | 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = {
655 | isa = PBXVariantGroup;
656 | children = (
657 | 607FACDF1AFB9204008FA782 /* Base */,
658 | );
659 | name = LaunchScreen.xib;
660 | sourceTree = "";
661 | };
662 | BC13EEB12861F22D00E49325 /* Interface.storyboard */ = {
663 | isa = PBXVariantGroup;
664 | children = (
665 | BC13EEB22861F22D00E49325 /* Base */,
666 | );
667 | name = Interface.storyboard;
668 | sourceTree = "";
669 | };
670 | /* End PBXVariantGroup section */
671 |
672 | /* Begin XCBuildConfiguration section */
673 | 607FACED1AFB9204008FA782 /* Debug */ = {
674 | isa = XCBuildConfiguration;
675 | buildSettings = {
676 | ALWAYS_SEARCH_USER_PATHS = NO;
677 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
678 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
679 | CLANG_CXX_LIBRARY = "libc++";
680 | CLANG_ENABLE_MODULES = YES;
681 | CLANG_ENABLE_OBJC_ARC = YES;
682 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
683 | CLANG_WARN_BOOL_CONVERSION = YES;
684 | CLANG_WARN_COMMA = YES;
685 | CLANG_WARN_CONSTANT_CONVERSION = YES;
686 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
687 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
688 | CLANG_WARN_EMPTY_BODY = YES;
689 | CLANG_WARN_ENUM_CONVERSION = YES;
690 | CLANG_WARN_INFINITE_RECURSION = YES;
691 | CLANG_WARN_INT_CONVERSION = YES;
692 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
693 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
694 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
695 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
696 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
697 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
698 | CLANG_WARN_STRICT_PROTOTYPES = YES;
699 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
700 | CLANG_WARN_UNREACHABLE_CODE = YES;
701 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
702 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
703 | COPY_PHASE_STRIP = NO;
704 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
705 | ENABLE_STRICT_OBJC_MSGSEND = YES;
706 | ENABLE_TESTABILITY = YES;
707 | GCC_C_LANGUAGE_STANDARD = gnu99;
708 | GCC_DYNAMIC_NO_PIC = NO;
709 | GCC_NO_COMMON_BLOCKS = YES;
710 | GCC_OPTIMIZATION_LEVEL = 0;
711 | GCC_PREPROCESSOR_DEFINITIONS = (
712 | "DEBUG=1",
713 | "$(inherited)",
714 | );
715 | GCC_SYMBOLS_PRIVATE_EXTERN = NO;
716 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
717 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
718 | GCC_WARN_UNDECLARED_SELECTOR = YES;
719 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
720 | GCC_WARN_UNUSED_FUNCTION = YES;
721 | GCC_WARN_UNUSED_VARIABLE = YES;
722 | IPHONEOS_DEPLOYMENT_TARGET = 13.0;
723 | MTL_ENABLE_DEBUG_INFO = YES;
724 | ONLY_ACTIVE_ARCH = YES;
725 | SDKROOT = iphoneos;
726 | SWIFT_OPTIMIZATION_LEVEL = "-Onone";
727 | WATCHOS_DEPLOYMENT_TARGET = 8.0;
728 | };
729 | name = Debug;
730 | };
731 | 607FACEE1AFB9204008FA782 /* Release */ = {
732 | isa = XCBuildConfiguration;
733 | buildSettings = {
734 | ALWAYS_SEARCH_USER_PATHS = NO;
735 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
736 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
737 | CLANG_CXX_LIBRARY = "libc++";
738 | CLANG_ENABLE_MODULES = YES;
739 | CLANG_ENABLE_OBJC_ARC = YES;
740 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
741 | CLANG_WARN_BOOL_CONVERSION = YES;
742 | CLANG_WARN_COMMA = YES;
743 | CLANG_WARN_CONSTANT_CONVERSION = YES;
744 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
745 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
746 | CLANG_WARN_EMPTY_BODY = YES;
747 | CLANG_WARN_ENUM_CONVERSION = YES;
748 | CLANG_WARN_INFINITE_RECURSION = YES;
749 | CLANG_WARN_INT_CONVERSION = YES;
750 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
751 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
752 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
753 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
754 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
755 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
756 | CLANG_WARN_STRICT_PROTOTYPES = YES;
757 | CLANG_WARN_SUSPICIOUS_MOVE = YES;
758 | CLANG_WARN_UNREACHABLE_CODE = YES;
759 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
760 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
761 | COPY_PHASE_STRIP = NO;
762 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
763 | ENABLE_NS_ASSERTIONS = NO;
764 | ENABLE_STRICT_OBJC_MSGSEND = YES;
765 | GCC_C_LANGUAGE_STANDARD = gnu99;
766 | GCC_NO_COMMON_BLOCKS = YES;
767 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
768 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
769 | GCC_WARN_UNDECLARED_SELECTOR = YES;
770 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
771 | GCC_WARN_UNUSED_FUNCTION = YES;
772 | GCC_WARN_UNUSED_VARIABLE = YES;
773 | IPHONEOS_DEPLOYMENT_TARGET = 13.0;
774 | MTL_ENABLE_DEBUG_INFO = NO;
775 | SDKROOT = iphoneos;
776 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
777 | VALIDATE_PRODUCT = YES;
778 | WATCHOS_DEPLOYMENT_TARGET = 8.0;
779 | };
780 | name = Release;
781 | };
782 | 607FACF01AFB9204008FA782 /* Debug */ = {
783 | isa = XCBuildConfiguration;
784 | baseConfigurationReference = 248CC2E0E25088F6AEFAC73E /* Pods-SSLineChart_Example.debug.xcconfig */;
785 | buildSettings = {
786 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
787 | INFOPLIST_FILE = SSLineChart/Info.plist;
788 | IPHONEOS_DEPLOYMENT_TARGET = 13.0;
789 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
790 | MODULE_NAME = ExampleApp;
791 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
792 | PRODUCT_NAME = "$(TARGET_NAME)";
793 | SWIFT_SWIFT3_OBJC_INFERENCE = Default;
794 | SWIFT_VERSION = 4.0;
795 | WATCHOS_DEPLOYMENT_TARGET = 8.0;
796 | };
797 | name = Debug;
798 | };
799 | 607FACF11AFB9204008FA782 /* Release */ = {
800 | isa = XCBuildConfiguration;
801 | baseConfigurationReference = CB95745ECFA8F9A0725868FD /* Pods-SSLineChart_Example.release.xcconfig */;
802 | buildSettings = {
803 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
804 | INFOPLIST_FILE = SSLineChart/Info.plist;
805 | IPHONEOS_DEPLOYMENT_TARGET = 13.0;
806 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
807 | MODULE_NAME = ExampleApp;
808 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
809 | PRODUCT_NAME = "$(TARGET_NAME)";
810 | SWIFT_SWIFT3_OBJC_INFERENCE = Default;
811 | SWIFT_VERSION = 4.0;
812 | WATCHOS_DEPLOYMENT_TARGET = 8.0;
813 | };
814 | name = Release;
815 | };
816 | 607FACF31AFB9204008FA782 /* Debug */ = {
817 | isa = XCBuildConfiguration;
818 | baseConfigurationReference = 11153B44D20ACD0B81238374 /* Pods-SSLineChart_Tests.debug.xcconfig */;
819 | buildSettings = {
820 | FRAMEWORK_SEARCH_PATHS = (
821 | "$(PLATFORM_DIR)/Developer/Library/Frameworks",
822 | "$(inherited)",
823 | );
824 | GCC_PREPROCESSOR_DEFINITIONS = (
825 | "DEBUG=1",
826 | "$(inherited)",
827 | );
828 | INFOPLIST_FILE = Tests/Info.plist;
829 | IPHONEOS_DEPLOYMENT_TARGET = 13.0;
830 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
831 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
832 | PRODUCT_NAME = "$(TARGET_NAME)";
833 | SWIFT_SWIFT3_OBJC_INFERENCE = Default;
834 | SWIFT_VERSION = 4.0;
835 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SSLineChart_Example.app/SSLineChart_Example";
836 | WATCHOS_DEPLOYMENT_TARGET = 8.0;
837 | };
838 | name = Debug;
839 | };
840 | 607FACF41AFB9204008FA782 /* Release */ = {
841 | isa = XCBuildConfiguration;
842 | baseConfigurationReference = 45EFAE8A369ABC204A4AB63A /* Pods-SSLineChart_Tests.release.xcconfig */;
843 | buildSettings = {
844 | FRAMEWORK_SEARCH_PATHS = (
845 | "$(PLATFORM_DIR)/Developer/Library/Frameworks",
846 | "$(inherited)",
847 | );
848 | INFOPLIST_FILE = Tests/Info.plist;
849 | IPHONEOS_DEPLOYMENT_TARGET = 13.0;
850 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
851 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
852 | PRODUCT_NAME = "$(TARGET_NAME)";
853 | SWIFT_SWIFT3_OBJC_INFERENCE = Default;
854 | SWIFT_VERSION = 4.0;
855 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SSLineChart_Example.app/SSLineChart_Example";
856 | WATCHOS_DEPLOYMENT_TARGET = 8.0;
857 | };
858 | name = Release;
859 | };
860 | BC13EEC92861F23000E49325 /* Debug */ = {
861 | isa = XCBuildConfiguration;
862 | baseConfigurationReference = 15A3DA46E00131424CFFF35D /* Pods-SSLineChart_Example (watchOS) WatchKit Extension.debug.xcconfig */;
863 | buildSettings = {
864 | ASSETCATALOG_COMPILER_COMPLICATION_NAME = Complication;
865 | CLANG_ANALYZER_NONNULL = YES;
866 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
867 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
868 | CLANG_ENABLE_OBJC_WEAK = YES;
869 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
870 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
871 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
872 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
873 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
874 | CODE_SIGN_STYLE = Automatic;
875 | CURRENT_PROJECT_VERSION = 1;
876 | DEBUG_INFORMATION_FORMAT = dwarf;
877 | GCC_C_LANGUAGE_STANDARD = gnu11;
878 | GENERATE_INFOPLIST_FILE = YES;
879 | INFOPLIST_FILE = "SSLineChart_Example (watchOS) WatchKit Extension/Info.plist";
880 | INFOPLIST_KEY_CFBundleDisplayName = "SSLineChart_Example (watchOS) WatchKit Extension";
881 | INFOPLIST_KEY_CLKComplicationPrincipalClass = "$(PRODUCT_MODULE_NAME).ComplicationController";
882 | INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2022 CocoaPods. All rights reserved.";
883 | INFOPLIST_KEY_WKExtensionDelegateClassName = "$(PRODUCT_MODULE_NAME).ExtensionDelegate";
884 | INFOPLIST_KEY_WKWatchOnly = YES;
885 | IPHONEOS_DEPLOYMENT_TARGET = 13.0;
886 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
887 | MARKETING_VERSION = 1.0;
888 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
889 | MTL_FAST_MATH = YES;
890 | PRODUCT_BUNDLE_IDENTIFIER = "hitarth.SSLineChart-Example--watchOS-.watchkitapp.watchkitextension";
891 | PRODUCT_NAME = "${TARGET_NAME}";
892 | SDKROOT = watchos;
893 | SKIP_INSTALL = YES;
894 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
895 | SWIFT_EMIT_LOC_STRINGS = YES;
896 | SWIFT_VERSION = 5.0;
897 | TARGETED_DEVICE_FAMILY = 4;
898 | WATCHOS_DEPLOYMENT_TARGET = 8.0;
899 | };
900 | name = Debug;
901 | };
902 | BC13EECA2861F23000E49325 /* Release */ = {
903 | isa = XCBuildConfiguration;
904 | baseConfigurationReference = ADC2F6313EB7ED99B98D7286 /* Pods-SSLineChart_Example (watchOS) WatchKit Extension.release.xcconfig */;
905 | buildSettings = {
906 | ASSETCATALOG_COMPILER_COMPLICATION_NAME = Complication;
907 | CLANG_ANALYZER_NONNULL = YES;
908 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
909 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
910 | CLANG_ENABLE_OBJC_WEAK = YES;
911 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
912 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
913 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
914 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
915 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
916 | CODE_SIGN_STYLE = Automatic;
917 | CURRENT_PROJECT_VERSION = 1;
918 | GCC_C_LANGUAGE_STANDARD = gnu11;
919 | GENERATE_INFOPLIST_FILE = YES;
920 | INFOPLIST_FILE = "SSLineChart_Example (watchOS) WatchKit Extension/Info.plist";
921 | INFOPLIST_KEY_CFBundleDisplayName = "SSLineChart_Example (watchOS) WatchKit Extension";
922 | INFOPLIST_KEY_CLKComplicationPrincipalClass = "$(PRODUCT_MODULE_NAME).ComplicationController";
923 | INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2022 CocoaPods. All rights reserved.";
924 | INFOPLIST_KEY_WKExtensionDelegateClassName = "$(PRODUCT_MODULE_NAME).ExtensionDelegate";
925 | INFOPLIST_KEY_WKWatchOnly = YES;
926 | IPHONEOS_DEPLOYMENT_TARGET = 13.0;
927 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
928 | MARKETING_VERSION = 1.0;
929 | MTL_FAST_MATH = YES;
930 | PRODUCT_BUNDLE_IDENTIFIER = "hitarth.SSLineChart-Example--watchOS-.watchkitapp.watchkitextension";
931 | PRODUCT_NAME = "${TARGET_NAME}";
932 | SDKROOT = watchos;
933 | SKIP_INSTALL = YES;
934 | SWIFT_EMIT_LOC_STRINGS = YES;
935 | SWIFT_VERSION = 5.0;
936 | TARGETED_DEVICE_FAMILY = 4;
937 | WATCHOS_DEPLOYMENT_TARGET = 8.0;
938 | };
939 | name = Release;
940 | };
941 | BC13EECD2861F23000E49325 /* Debug */ = {
942 | isa = XCBuildConfiguration;
943 | baseConfigurationReference = E74CF66F21874CA29A91569F /* Pods-SSLineChart_Example (watchOS) WatchKit App.debug.xcconfig */;
944 | buildSettings = {
945 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
946 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
947 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
948 | CLANG_ANALYZER_NONNULL = YES;
949 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
950 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
951 | CLANG_ENABLE_OBJC_WEAK = YES;
952 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
953 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
954 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
955 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
956 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
957 | CODE_SIGN_STYLE = Automatic;
958 | CURRENT_PROJECT_VERSION = 1;
959 | DEBUG_INFORMATION_FORMAT = dwarf;
960 | GCC_C_LANGUAGE_STANDARD = gnu11;
961 | GENERATE_INFOPLIST_FILE = YES;
962 | IBSC_MODULE = SSLineChart_Example__watchOS__WatchKit_Extension;
963 | INFOPLIST_KEY_CFBundleDisplayName = "SSLineChart_Example (watchOS) WatchKit App";
964 | INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
965 | IPHONEOS_DEPLOYMENT_TARGET = 13.0;
966 | MARKETING_VERSION = 1.0;
967 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
968 | MTL_FAST_MATH = YES;
969 | PRODUCT_BUNDLE_IDENTIFIER = "hitarth.SSLineChart-Example--watchOS-.watchkitapp";
970 | PRODUCT_NAME = "$(TARGET_NAME)";
971 | SDKROOT = watchos;
972 | SKIP_INSTALL = YES;
973 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
974 | SWIFT_EMIT_LOC_STRINGS = YES;
975 | SWIFT_VERSION = 5.0;
976 | TARGETED_DEVICE_FAMILY = 4;
977 | WATCHOS_DEPLOYMENT_TARGET = 8.0;
978 | };
979 | name = Debug;
980 | };
981 | BC13EECE2861F23000E49325 /* Release */ = {
982 | isa = XCBuildConfiguration;
983 | baseConfigurationReference = 4EF82F591F317576AE0549AF /* Pods-SSLineChart_Example (watchOS) WatchKit App.release.xcconfig */;
984 | buildSettings = {
985 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
986 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
987 | ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
988 | CLANG_ANALYZER_NONNULL = YES;
989 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
990 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
991 | CLANG_ENABLE_OBJC_WEAK = YES;
992 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
993 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
994 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
995 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
996 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
997 | CODE_SIGN_STYLE = Automatic;
998 | CURRENT_PROJECT_VERSION = 1;
999 | GCC_C_LANGUAGE_STANDARD = gnu11;
1000 | GENERATE_INFOPLIST_FILE = YES;
1001 | IBSC_MODULE = SSLineChart_Example__watchOS__WatchKit_Extension;
1002 | INFOPLIST_KEY_CFBundleDisplayName = "SSLineChart_Example (watchOS) WatchKit App";
1003 | INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
1004 | IPHONEOS_DEPLOYMENT_TARGET = 13.0;
1005 | MARKETING_VERSION = 1.0;
1006 | MTL_FAST_MATH = YES;
1007 | PRODUCT_BUNDLE_IDENTIFIER = "hitarth.SSLineChart-Example--watchOS-.watchkitapp";
1008 | PRODUCT_NAME = "$(TARGET_NAME)";
1009 | SDKROOT = watchos;
1010 | SKIP_INSTALL = YES;
1011 | SWIFT_EMIT_LOC_STRINGS = YES;
1012 | SWIFT_VERSION = 5.0;
1013 | TARGETED_DEVICE_FAMILY = 4;
1014 | WATCHOS_DEPLOYMENT_TARGET = 8.0;
1015 | };
1016 | name = Release;
1017 | };
1018 | BC13EED12861F23000E49325 /* Debug */ = {
1019 | isa = XCBuildConfiguration;
1020 | buildSettings = {
1021 | CLANG_ANALYZER_NONNULL = YES;
1022 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
1023 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
1024 | CLANG_ENABLE_OBJC_WEAK = YES;
1025 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1026 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1027 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1028 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
1029 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
1030 | CODE_SIGN_STYLE = Automatic;
1031 | CURRENT_PROJECT_VERSION = 1;
1032 | DEBUG_INFORMATION_FORMAT = dwarf;
1033 | GCC_C_LANGUAGE_STANDARD = gnu11;
1034 | IPHONEOS_DEPLOYMENT_TARGET = 13.0;
1035 | MARKETING_VERSION = 1.0;
1036 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
1037 | MTL_FAST_MATH = YES;
1038 | PRODUCT_BUNDLE_IDENTIFIER = "hitarth.SSLineChart-Example--watchOS-";
1039 | PRODUCT_NAME = "$(TARGET_NAME)";
1040 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
1041 | SWIFT_VERSION = 5.0;
1042 | WATCHOS_DEPLOYMENT_TARGET = 8.0;
1043 | };
1044 | name = Debug;
1045 | };
1046 | BC13EED22861F23000E49325 /* Release */ = {
1047 | isa = XCBuildConfiguration;
1048 | buildSettings = {
1049 | CLANG_ANALYZER_NONNULL = YES;
1050 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
1051 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++17";
1052 | CLANG_ENABLE_OBJC_WEAK = YES;
1053 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
1054 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
1055 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
1056 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
1057 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
1058 | CODE_SIGN_STYLE = Automatic;
1059 | CURRENT_PROJECT_VERSION = 1;
1060 | GCC_C_LANGUAGE_STANDARD = gnu11;
1061 | IPHONEOS_DEPLOYMENT_TARGET = 13.0;
1062 | MARKETING_VERSION = 1.0;
1063 | MTL_FAST_MATH = YES;
1064 | PRODUCT_BUNDLE_IDENTIFIER = "hitarth.SSLineChart-Example--watchOS-";
1065 | PRODUCT_NAME = "$(TARGET_NAME)";
1066 | SWIFT_VERSION = 5.0;
1067 | WATCHOS_DEPLOYMENT_TARGET = 8.0;
1068 | };
1069 | name = Release;
1070 | };
1071 | /* End XCBuildConfiguration section */
1072 |
1073 | /* Begin XCConfigurationList section */
1074 | 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "SSLineChart" */ = {
1075 | isa = XCConfigurationList;
1076 | buildConfigurations = (
1077 | 607FACED1AFB9204008FA782 /* Debug */,
1078 | 607FACEE1AFB9204008FA782 /* Release */,
1079 | );
1080 | defaultConfigurationIsVisible = 0;
1081 | defaultConfigurationName = Release;
1082 | };
1083 | 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SSLineChart_Example" */ = {
1084 | isa = XCConfigurationList;
1085 | buildConfigurations = (
1086 | 607FACF01AFB9204008FA782 /* Debug */,
1087 | 607FACF11AFB9204008FA782 /* Release */,
1088 | );
1089 | defaultConfigurationIsVisible = 0;
1090 | defaultConfigurationName = Release;
1091 | };
1092 | 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "SSLineChart_Tests" */ = {
1093 | isa = XCConfigurationList;
1094 | buildConfigurations = (
1095 | 607FACF31AFB9204008FA782 /* Debug */,
1096 | 607FACF41AFB9204008FA782 /* Release */,
1097 | );
1098 | defaultConfigurationIsVisible = 0;
1099 | defaultConfigurationName = Release;
1100 | };
1101 | BC13EEC82861F23000E49325 /* Build configuration list for PBXNativeTarget "SSLineChart_Example (watchOS) WatchKit Extension" */ = {
1102 | isa = XCConfigurationList;
1103 | buildConfigurations = (
1104 | BC13EEC92861F23000E49325 /* Debug */,
1105 | BC13EECA2861F23000E49325 /* Release */,
1106 | );
1107 | defaultConfigurationIsVisible = 0;
1108 | defaultConfigurationName = Release;
1109 | };
1110 | BC13EECC2861F23000E49325 /* Build configuration list for PBXNativeTarget "SSLineChart_Example (watchOS) WatchKit App" */ = {
1111 | isa = XCConfigurationList;
1112 | buildConfigurations = (
1113 | BC13EECD2861F23000E49325 /* Debug */,
1114 | BC13EECE2861F23000E49325 /* Release */,
1115 | );
1116 | defaultConfigurationIsVisible = 0;
1117 | defaultConfigurationName = Release;
1118 | };
1119 | BC13EED02861F23000E49325 /* Build configuration list for PBXNativeTarget "SSLineChart_Example (watchOS)" */ = {
1120 | isa = XCConfigurationList;
1121 | buildConfigurations = (
1122 | BC13EED12861F23000E49325 /* Debug */,
1123 | BC13EED22861F23000E49325 /* Release */,
1124 | );
1125 | defaultConfigurationIsVisible = 0;
1126 | defaultConfigurationName = Release;
1127 | };
1128 | /* End XCConfigurationList section */
1129 | };
1130 | rootObject = 607FACC81AFB9204008FA782 /* Project object */;
1131 | }
1132 |
--------------------------------------------------------------------------------
/Example/SSLineChart.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Example/SSLineChart.xcodeproj/xcshareddata/xcschemes/SSLineChart-Example.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
38 |
39 |
44 |
45 |
51 |
52 |
53 |
54 |
56 |
62 |
63 |
64 |
65 |
66 |
76 |
78 |
84 |
85 |
86 |
87 |
93 |
95 |
101 |
102 |
103 |
104 |
106 |
107 |
110 |
111 |
112 |
--------------------------------------------------------------------------------
/Example/SSLineChart.xcodeproj/xcshareddata/xcschemes/SSLineChart_Example (watchOS) WatchKit App (Complication).xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
38 |
39 |
44 |
45 |
46 |
47 |
58 |
60 |
66 |
67 |
68 |
69 |
76 |
78 |
84 |
85 |
86 |
87 |
89 |
90 |
93 |
94 |
95 |
--------------------------------------------------------------------------------
/Example/SSLineChart.xcodeproj/xcshareddata/xcschemes/SSLineChart_Example (watchOS) WatchKit App.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
29 |
35 |
36 |
37 |
38 |
39 |
44 |
45 |
46 |
47 |
57 |
59 |
65 |
66 |
67 |
68 |
74 |
76 |
82 |
83 |
84 |
85 |
87 |
88 |
91 |
92 |
93 |
--------------------------------------------------------------------------------
/Example/SSLineChart.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Example/SSLineChart.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Example/SSLineChart/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // SSLineChart
4 | //
5 | // Created by Hitarth on 06/21/2022.
6 | // Copyright (c) 2022 Simform. All rights reserved.
7 | //
8 |
9 | import UIKit
10 |
11 | @UIApplicationMain
12 | class AppDelegate: UIResponder, UIApplicationDelegate {
13 |
14 | var window: UIWindow?
15 |
16 |
17 | func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
18 | // Override point for customization after application launch.
19 | return true
20 | }
21 |
22 | func applicationWillResignActive(_ application: UIApplication) {
23 | // 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.
24 | // 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.
25 | }
26 |
27 | func applicationDidEnterBackground(_ application: UIApplication) {
28 | // 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.
29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
30 | }
31 |
32 | func applicationWillEnterForeground(_ application: UIApplication) {
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 | func applicationDidBecomeActive(_ application: UIApplication) {
37 | // 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.
38 | }
39 |
40 | func applicationWillTerminate(_ application: UIApplication) {
41 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
42 | }
43 |
44 |
45 | }
46 |
47 |
--------------------------------------------------------------------------------
/Example/SSLineChart/Base.lproj/LaunchScreen.xib:
--------------------------------------------------------------------------------
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 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/Example/SSLineChart/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 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Example/SSLineChart/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 | "idiom" : "ios-marketing",
45 | "size" : "1024x1024",
46 | "scale" : "1x"
47 | }
48 | ],
49 | "info" : {
50 | "version" : 1,
51 | "author" : "xcode"
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/Example/SSLineChart/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 | APPL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UIRequiredDeviceCapabilities
30 |
31 | armv7
32 |
33 | UISupportedInterfaceOrientations
34 |
35 | UIInterfaceOrientationPortrait
36 | UIInterfaceOrientationLandscapeLeft
37 |
38 |
39 |
40 |
--------------------------------------------------------------------------------
/Example/SSLineChart/ViewController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ViewController.swift
3 | // SSLineChart
4 | //
5 | // Created by Hitarth on 06/21/2022.
6 | // Copyright (c) 2022 Simform. All rights reserved.
7 | //
8 |
9 | import UIKit
10 | import SSLineChart
11 |
12 | class ViewController: UIViewController {
13 |
14 | override func viewDidLoad() {
15 | super.viewDidLoad()
16 | // Do any additional setup after loading the view, typically from a nib.
17 | }
18 |
19 | override func didReceiveMemoryWarning() {
20 | super.didReceiveMemoryWarning()
21 | // Dispose of any resources that can be recreated.
22 | }
23 |
24 | }
25 |
26 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit App/Assets.xcassets/AccentColor.colorset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "colors" : [
3 | {
4 | "idiom" : "universal"
5 | }
6 | ],
7 | "info" : {
8 | "author" : "xcode",
9 | "version" : 1
10 | }
11 | }
12 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit App/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "watch",
5 | "role" : "notificationCenter",
6 | "scale" : "2x",
7 | "size" : "24x24",
8 | "subtype" : "38mm"
9 | },
10 | {
11 | "idiom" : "watch",
12 | "role" : "notificationCenter",
13 | "scale" : "2x",
14 | "size" : "27.5x27.5",
15 | "subtype" : "42mm"
16 | },
17 | {
18 | "idiom" : "watch",
19 | "role" : "companionSettings",
20 | "scale" : "2x",
21 | "size" : "29x29"
22 | },
23 | {
24 | "idiom" : "watch",
25 | "role" : "companionSettings",
26 | "scale" : "3x",
27 | "size" : "29x29"
28 | },
29 | {
30 | "idiom" : "watch",
31 | "role" : "notificationCenter",
32 | "scale" : "2x",
33 | "size" : "33x33",
34 | "subtype" : "45mm"
35 | },
36 | {
37 | "idiom" : "watch",
38 | "role" : "appLauncher",
39 | "scale" : "2x",
40 | "size" : "40x40",
41 | "subtype" : "38mm"
42 | },
43 | {
44 | "idiom" : "watch",
45 | "role" : "appLauncher",
46 | "scale" : "2x",
47 | "size" : "44x44",
48 | "subtype" : "40mm"
49 | },
50 | {
51 | "idiom" : "watch",
52 | "role" : "appLauncher",
53 | "scale" : "2x",
54 | "size" : "46x46",
55 | "subtype" : "41mm"
56 | },
57 | {
58 | "idiom" : "watch",
59 | "role" : "appLauncher",
60 | "scale" : "2x",
61 | "size" : "50x50",
62 | "subtype" : "44mm"
63 | },
64 | {
65 | "idiom" : "watch",
66 | "role" : "appLauncher",
67 | "scale" : "2x",
68 | "size" : "51x51",
69 | "subtype" : "45mm"
70 | },
71 | {
72 | "idiom" : "watch",
73 | "role" : "quickLook",
74 | "scale" : "2x",
75 | "size" : "86x86",
76 | "subtype" : "38mm"
77 | },
78 | {
79 | "idiom" : "watch",
80 | "role" : "quickLook",
81 | "scale" : "2x",
82 | "size" : "98x98",
83 | "subtype" : "42mm"
84 | },
85 | {
86 | "idiom" : "watch",
87 | "role" : "quickLook",
88 | "scale" : "2x",
89 | "size" : "108x108",
90 | "subtype" : "44mm"
91 | },
92 | {
93 | "idiom" : "watch",
94 | "role" : "quickLook",
95 | "scale" : "2x",
96 | "size" : "117x117",
97 | "subtype" : "45mm"
98 | },
99 | {
100 | "idiom" : "watch-marketing",
101 | "scale" : "1x",
102 | "size" : "1024x1024"
103 | }
104 | ],
105 | "info" : {
106 | "author" : "xcode",
107 | "version" : 1
108 | }
109 | }
110 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit App/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit App/Base.lproj/Interface.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 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/Assets.xcassets/Complication.complicationset/Circular.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "watch",
5 | "scale" : "2x"
6 | },
7 | {
8 | "idiom" : "watch",
9 | "scale" : "2x",
10 | "screen-width" : "<=145"
11 | },
12 | {
13 | "idiom" : "watch",
14 | "scale" : "2x",
15 | "screen-width" : ">183"
16 | }
17 | ],
18 | "info" : {
19 | "author" : "xcode",
20 | "version" : 1
21 | },
22 | "properties" : {
23 | "auto-scaling" : "auto"
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/Assets.xcassets/Complication.complicationset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "assets" : [
3 | {
4 | "filename" : "Circular.imageset",
5 | "idiom" : "watch",
6 | "role" : "circular"
7 | },
8 | {
9 | "filename" : "Extra Large.imageset",
10 | "idiom" : "watch",
11 | "role" : "extra-large"
12 | },
13 | {
14 | "filename" : "Graphic Bezel.imageset",
15 | "idiom" : "watch",
16 | "role" : "graphic-bezel"
17 | },
18 | {
19 | "filename" : "Graphic Circular.imageset",
20 | "idiom" : "watch",
21 | "role" : "graphic-circular"
22 | },
23 | {
24 | "filename" : "Graphic Corner.imageset",
25 | "idiom" : "watch",
26 | "role" : "graphic-corner"
27 | },
28 | {
29 | "filename" : "Graphic Extra Large.imageset",
30 | "idiom" : "watch",
31 | "role" : "graphic-extra-large"
32 | },
33 | {
34 | "filename" : "Graphic Large Rectangular.imageset",
35 | "idiom" : "watch",
36 | "role" : "graphic-large-rectangular"
37 | },
38 | {
39 | "filename" : "Modular.imageset",
40 | "idiom" : "watch",
41 | "role" : "modular"
42 | },
43 | {
44 | "filename" : "Utilitarian.imageset",
45 | "idiom" : "watch",
46 | "role" : "utilitarian"
47 | }
48 | ],
49 | "info" : {
50 | "author" : "xcode",
51 | "version" : 1
52 | }
53 | }
54 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/Assets.xcassets/Complication.complicationset/Extra Large.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "watch",
5 | "scale" : "2x"
6 | },
7 | {
8 | "idiom" : "watch",
9 | "scale" : "2x",
10 | "screen-width" : "<=145"
11 | },
12 | {
13 | "idiom" : "watch",
14 | "scale" : "2x",
15 | "screen-width" : ">183"
16 | }
17 | ],
18 | "info" : {
19 | "author" : "xcode",
20 | "version" : 1
21 | },
22 | "properties" : {
23 | "auto-scaling" : "auto"
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/Assets.xcassets/Complication.complicationset/Graphic Bezel.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "watch",
5 | "scale" : "2x"
6 | },
7 | {
8 | "idiom" : "watch",
9 | "scale" : "2x",
10 | "screen-width" : ">183"
11 | }
12 | ],
13 | "info" : {
14 | "author" : "xcode",
15 | "version" : 1
16 | },
17 | "properties" : {
18 | "auto-scaling" : "auto"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/Assets.xcassets/Complication.complicationset/Graphic Circular.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "watch",
5 | "scale" : "2x"
6 | },
7 | {
8 | "idiom" : "watch",
9 | "scale" : "2x",
10 | "screen-width" : ">183"
11 | }
12 | ],
13 | "info" : {
14 | "author" : "xcode",
15 | "version" : 1
16 | },
17 | "properties" : {
18 | "auto-scaling" : "auto"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/Assets.xcassets/Complication.complicationset/Graphic Corner.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "watch",
5 | "scale" : "2x"
6 | },
7 | {
8 | "idiom" : "watch",
9 | "scale" : "2x",
10 | "screen-width" : ">183"
11 | }
12 | ],
13 | "info" : {
14 | "author" : "xcode",
15 | "version" : 1
16 | },
17 | "properties" : {
18 | "auto-scaling" : "auto"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/Assets.xcassets/Complication.complicationset/Graphic Extra Large.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "watch",
5 | "scale" : "2x"
6 | },
7 | {
8 | "idiom" : "watch",
9 | "scale" : "2x",
10 | "screen-width" : "<=145"
11 | },
12 | {
13 | "idiom" : "watch",
14 | "scale" : "2x",
15 | "screen-width" : ">183"
16 | }
17 | ],
18 | "info" : {
19 | "author" : "xcode",
20 | "version" : 1
21 | },
22 | "properties" : {
23 | "auto-scaling" : "auto"
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/Assets.xcassets/Complication.complicationset/Graphic Large Rectangular.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "watch",
5 | "scale" : "2x"
6 | },
7 | {
8 | "idiom" : "watch",
9 | "scale" : "2x",
10 | "screen-width" : ">183"
11 | }
12 | ],
13 | "info" : {
14 | "author" : "xcode",
15 | "version" : 1
16 | },
17 | "properties" : {
18 | "auto-scaling" : "auto"
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/Assets.xcassets/Complication.complicationset/Modular.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "watch",
5 | "scale" : "2x"
6 | },
7 | {
8 | "idiom" : "watch",
9 | "scale" : "2x",
10 | "screen-width" : "<=145"
11 | },
12 | {
13 | "idiom" : "watch",
14 | "scale" : "2x",
15 | "screen-width" : ">183"
16 | }
17 | ],
18 | "info" : {
19 | "author" : "xcode",
20 | "version" : 1
21 | },
22 | "properties" : {
23 | "auto-scaling" : "auto"
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/Assets.xcassets/Complication.complicationset/Utilitarian.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "watch",
5 | "scale" : "2x"
6 | },
7 | {
8 | "idiom" : "watch",
9 | "scale" : "2x",
10 | "screen-width" : "<=145"
11 | },
12 | {
13 | "idiom" : "watch",
14 | "scale" : "2x",
15 | "screen-width" : ">183"
16 | }
17 | ],
18 | "info" : {
19 | "author" : "xcode",
20 | "version" : 1
21 | },
22 | "properties" : {
23 | "auto-scaling" : "auto"
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/ComplicationController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ComplicationController.swift
3 | // SSLineChart_Example (watchOS) WatchKit Extension
4 | //
5 | // Created by Hitarth on 21/06/22.
6 | // Copyright © 2022 Simform. All rights reserved.
7 | //
8 |
9 | import ClockKit
10 |
11 |
12 | class ComplicationController: NSObject, CLKComplicationDataSource {
13 |
14 | // MARK: - Complication Configuration
15 |
16 | func getComplicationDescriptors(handler: @escaping ([CLKComplicationDescriptor]) -> Void) {
17 | let descriptors = [
18 | CLKComplicationDescriptor(identifier: "complication", displayName: "SSLineChart", supportedFamilies: CLKComplicationFamily.allCases)
19 | // Multiple complication support can be added here with more descriptors
20 | ]
21 |
22 | // Call the handler with the currently supported complication descriptors
23 | handler(descriptors)
24 | }
25 |
26 | func handleSharedComplicationDescriptors(_ complicationDescriptors: [CLKComplicationDescriptor]) {
27 | // Do any necessary work to support these newly shared complication descriptors
28 | }
29 |
30 | // MARK: - Timeline Configuration
31 |
32 | func getTimelineEndDate(for complication: CLKComplication, withHandler handler: @escaping (Date?) -> Void) {
33 | // Call the handler with the last entry date you can currently provide or nil if you can't support future timelines
34 | handler(nil)
35 | }
36 |
37 | func getPrivacyBehavior(for complication: CLKComplication, withHandler handler: @escaping (CLKComplicationPrivacyBehavior) -> Void) {
38 | // Call the handler with your desired behavior when the device is locked
39 | handler(.showOnLockScreen)
40 | }
41 |
42 | // MARK: - Timeline Population
43 |
44 | func getCurrentTimelineEntry(for complication: CLKComplication, withHandler handler: @escaping (CLKComplicationTimelineEntry?) -> Void) {
45 | // Call the handler with the current timeline entry
46 | handler(nil)
47 | }
48 |
49 | func getTimelineEntries(for complication: CLKComplication, after date: Date, limit: Int, withHandler handler: @escaping ([CLKComplicationTimelineEntry]?) -> Void) {
50 | // Call the handler with the timeline entries after the given date
51 | handler(nil)
52 | }
53 |
54 | // MARK: - Sample Templates
55 |
56 | func getLocalizableSampleTemplate(for complication: CLKComplication, withHandler handler: @escaping (CLKComplicationTemplate?) -> Void) {
57 | // This method will be called once per supported complication, and the results will be cached
58 | handler(nil)
59 | }
60 | }
61 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/ExtensionDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ExtensionDelegate.swift
3 | // SSLineChart_Example (watchOS) WatchKit Extension
4 | //
5 | // Created by Hitarth on 21/06/22.
6 | // Copyright © 2022 Simform. All rights reserved.
7 | //
8 |
9 | import WatchKit
10 |
11 | class ExtensionDelegate: NSObject, WKExtensionDelegate {
12 |
13 | func applicationDidFinishLaunching() {
14 | // Perform any final initialization of your application.
15 | }
16 |
17 | func applicationDidBecomeActive() {
18 | // 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.
19 | }
20 |
21 | func applicationWillResignActive() {
22 | // 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.
23 | // Use this method to pause ongoing tasks, disable timers, etc.
24 | }
25 |
26 | func handle(_ backgroundTasks: Set) {
27 | // Sent when the system needs to launch the application in the background to process tasks. Tasks arrive in a set, so loop through and process each one.
28 | for task in backgroundTasks {
29 | // Use a switch statement to check the task type
30 | switch task {
31 | case let backgroundTask as WKApplicationRefreshBackgroundTask:
32 | // Be sure to complete the background task once you’re done.
33 | backgroundTask.setTaskCompletedWithSnapshot(false)
34 | case let snapshotTask as WKSnapshotRefreshBackgroundTask:
35 | // Snapshot tasks have a unique completion call, make sure to set your expiration date
36 | snapshotTask.setTaskCompleted(restoredDefaultState: true, estimatedSnapshotExpiration: Date.distantFuture, userInfo: nil)
37 | case let connectivityTask as WKWatchConnectivityRefreshBackgroundTask:
38 | // Be sure to complete the connectivity task once you’re done.
39 | connectivityTask.setTaskCompletedWithSnapshot(false)
40 | case let urlSessionTask as WKURLSessionRefreshBackgroundTask:
41 | // Be sure to complete the URL session task once you’re done.
42 | urlSessionTask.setTaskCompletedWithSnapshot(false)
43 | case let relevantShortcutTask as WKRelevantShortcutRefreshBackgroundTask:
44 | // Be sure to complete the relevant-shortcut task once you're done.
45 | relevantShortcutTask.setTaskCompletedWithSnapshot(false)
46 | case let intentDidRunTask as WKIntentDidRunRefreshBackgroundTask:
47 | // Be sure to complete the intent-did-run task once you're done.
48 | intentDidRunTask.setTaskCompletedWithSnapshot(false)
49 | default:
50 | // make sure to complete unhandled task types
51 | task.setTaskCompletedWithSnapshot(false)
52 | }
53 | }
54 | }
55 |
56 | }
57 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | NSExtension
6 |
7 | NSExtensionAttributes
8 |
9 | WKAppBundleIdentifier
10 | hitarth.SSLineChart-Example--watchOS-.watchkitapp
11 |
12 | NSExtensionPointIdentifier
13 | com.apple.watchkit
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Example/SSLineChart_Example (watchOS) WatchKit Extension/InterfaceController.swift:
--------------------------------------------------------------------------------
1 | //
2 | // InterfaceController.swift
3 | // SSLineChart_Example (watchOS) WatchKit Extension
4 | //
5 | // Created by Hitarth on 21/06/22.
6 | // Copyright © 2022 Simform. All rights reserved.
7 | //
8 |
9 | import WatchKit
10 | import SSLineChart
11 |
12 | class InterfaceController: WKInterfaceController {
13 |
14 | @IBOutlet weak var graphImage: WKInterfaceImage!
15 | var lineChart: SSLineChart?
16 |
17 | override func awake(withContext context: Any?) {
18 | // Configure interface objects here.
19 | generateGraphImage()
20 | }
21 |
22 | override func willActivate() {
23 | // This method is called when watch view controller is about to be visible to user
24 | }
25 |
26 | override func didDeactivate() {
27 | // This method is called when watch view controller is no longer visible
28 | }
29 |
30 | func generateGraphImage() {
31 | lineChart = SSLineChart()
32 | lineChart?.chartMargin = 14
33 | lineChart?.yLabelFormat = "%1.0f"
34 | lineChart?.xLabels = (1...5).map{ $0.description }
35 | lineChart?.yFixedValueMax = 100
36 | lineChart?.yFixedValueMin = 20
37 | lineChart?.yLabels = ["20", "60", "100"]
38 | lineChart?.xLabelWidth = 15.0
39 | lineChart?.yLabelHeight = 0
40 | lineChart?.yLabelColor = UIColor.white
41 | lineChart?.xLabelColor = UIColor.white
42 |
43 | lineChart?.setGradientColor(colors: [.red, .orange], position: .topDown)
44 |
45 | let activityData = [45, 65, 30, 85, 40, 70, 83, 50]
46 |
47 | let data = SSLineChartData()
48 | data.lineColor = .white
49 | data.lineAlpha = 1
50 | data.lineWidth = 0.6
51 | data.itemCount = activityData.count
52 | data.getData = { index in
53 | let yValue = activityData[index]
54 | return CGFloat(yValue)
55 | }
56 |
57 | lineChart?.chartData = [data]
58 | let img = lineChart?.drawImage()
59 | graphImage.setImage(img)
60 | }
61 |
62 | }
63 |
--------------------------------------------------------------------------------
/Example/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 | BNDL
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Example/Tests/Tests.swift:
--------------------------------------------------------------------------------
1 | import XCTest
2 | import SSLineChart
3 |
4 | class Tests: XCTestCase {
5 |
6 | override func setUp() {
7 | super.setUp()
8 | // Put setup code here. This method is called before the invocation of each test method in the class.
9 | }
10 |
11 | override func tearDown() {
12 | // Put teardown code here. This method is called after the invocation of each test method in the class.
13 | super.tearDown()
14 | }
15 |
16 | func testExample() {
17 | // This is an example of a functional test case.
18 | XCTAssert(true, "Pass")
19 | }
20 |
21 | func testPerformanceExample() {
22 | // This is an example of a performance test case.
23 | self.measure() {
24 | // Put the code you want to measure the time of here.
25 | }
26 | }
27 |
28 | }
29 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 | Copyright (c) 2022 mobile-simformsolutions
3 |
4 | Permission is hereby granted, free of charge, to any person obtaining a copy
5 | of this software and associated documentation files (the "Software"), to deal
6 | in the Software without restriction, including without limitation the rights
7 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 | copies of the Software, and to permit persons to whom the Software is
9 | furnished to do so, subject to the following conditions:
10 |
11 | The above copyright notice and this permission notice shall be included in
12 | all copies or substantial portions of the Software.
13 |
14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20 | THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | SSLineChart
4 | =============
5 | [](https://cocoapods.org/pods/SSLineChart)
6 | [](https://cocoapods.org/pods/SSLineChart)
7 | [](https://cocoapods.org/pods/SSLineChart)
8 | [![Swift Version][swift-image]][swift-url]
9 | [![PRs Welcome][PR-image]][PR-url]
10 | [](https://twitter.com/simform)
11 |
12 | SSLineChart draws a `UIImage` of a chart with given values and provide additional functionality of gradient color fill.
13 |
14 | Setup Instructions
15 | ------------------
16 | [CocoaPods](http://cocoapods.org)
17 | ------------------
18 | To integrate SSLineChart into your Xcode project using CocoaPods, specify it in your `Podfile`:
19 | ```ruby
20 | pod 'SSLineChart', '~> 1.0.0'
21 | ```
22 | and in your code add `import SSLineChart`.
23 |
24 | [Swift Package Manager](https://swift.org/package-manager/)
25 | ------------------
26 | When using Xcode 11 or later, you can install `SSLineChart` by going to your Project settings > `Swift Packages` and add the repository by providing the GitHub URL. Alternatively, you can go to `File` > `Swift Packages` > `Add Package Dependencies...`
27 |
28 | ## Manually
29 |
30 | 1. Add `SSLineChart.swift` and `SSLineChartData.swift` to your project.
31 | 2. Grab yourself a cold 🍺.
32 |
33 | ## Requirements
34 | * Xcode 11+
35 |
36 | # Usage
37 |
38 | Initial Setup
39 | ---------
40 | ```swift
41 | let lineChart = SSLineChart()
42 | lineChart.chartMargin = 14
43 | lineChart.yLabelFormat = "%1.0f"
44 | lineChart.xLabels = (1...5).map{ $0.description }
45 | lineChart.yFixedValueMax = 100
46 | lineChart.yFixedValueMin = 20
47 | lineChart.yLabels = ["20", "60", "100"]
48 | lineChart.xLabelWidth = 15.0
49 | lineChart.yLabelHeight = 0
50 | lineChart.yLabelColor = UIColor.white
51 | lineChart.xLabelColor = UIColor.white
52 |
53 | let activityData = [45, 65, 30, 85, 40, 70, 83, 50]
54 |
55 | let data = SSLineChartData()
56 | data.lineColor = .white
57 | data.lineAlpha = 1
58 | data.lineWidth = 0.6
59 | data.itemCount = activityData.count
60 | data.getData = { index in
61 | let yValue = activityData[index]
62 | return CGFloat(yValue)
63 | }
64 |
65 | lineChart.chartData = [data]
66 | let chartImage = lineChart.drawImage()
67 | ```
68 |
69 | Apply gradient
70 | ---------
71 | ```swift
72 | lineChart.setGradientColor(colors: [.red, .orange], position: .topDown)
73 | ```
74 | Chart Examples
75 | ----------------
76 |
77 |
78 |
79 |
80 |
81 | # Check out our other Libraries
82 |
83 |
84 |
85 |
86 | ## MIT License
87 |
88 | Copyright (c) 2022 Simform Solutions
89 |
90 | Permission is hereby granted, free of charge, to any person obtaining a copy
91 | of this software and associated documentation files (the "Software"), to deal
92 | in the Software without restriction, including without limitation the rights
93 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
94 | copies of the Software, and to permit persons to whom the Software is
95 | furnished to do so, subject to the following conditions:
96 |
97 | The above copyright notice and this permission notice shall be included in all
98 | copies or substantial portions of the Software.
99 |
100 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
101 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
102 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
103 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER
104 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
105 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
106 | SOFTWARE.
107 |
108 | [PR-image]:https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat
109 | [PR-url]:http://makeapullrequest.com
110 | [swift-image]:https://img.shields.io/badge/swift-5.0-orange.svg
111 | [swift-url]: https://swift.org/
112 |
--------------------------------------------------------------------------------
/SSLineChart.podspec:
--------------------------------------------------------------------------------
1 | #
2 | # Be sure to run `pod lib lint SSLineChart.podspec' to ensure this is a
3 | # valid spec before submitting.
4 | #
5 | # Any lines starting with a # are optional, but their use is encouraged
6 | # To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
7 | #
8 |
9 | Pod::Spec.new do |s|
10 | s.name = 'SSLineChart'
11 | s.version = '1.0.0'
12 | s.summary = 'Gradient Chart framework for watchOS'
13 |
14 | # This description is used to generate tags and improve search results.
15 | # * Think: What does it do? Why did you write it? What is the focus?
16 | # * Try to keep it short, snappy and to the point.
17 | # * Write the description between the DESC delimiters below.
18 | # * Finally, don't worry about the indent, CocoaPods strips it!
19 |
20 | s.description = <<-DESC
21 | 'Gradient Chart framework for watchOS'
22 | 'SSLineChart draws a `UIImage` of a chart with given values and provide additional functionality of gradient color fill'
23 | DESC
24 |
25 | s.homepage = 'https://github.com/mobile-simformsolutions/SSLineChart'
26 | s.license = { :type => 'MIT', :file => 'LICENSE' }
27 | s.author = { "HitarthBhatt12" => "hitarth.b@simformsolutions.com" }
28 | s.source = { :git => 'https://github.com/mobile-simformsolutions/SSLineChart', :tag => s.version.to_s }
29 |
30 | s.ios.deployment_target = '13.0'
31 | s.watchos.deployment_target = '8.0'
32 |
33 | s.source_files = 'Charts/**/*.swift'
34 |
35 | end
36 |
--------------------------------------------------------------------------------
/SSLineChart/Assets/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSLineChart/c7bc8a8e8eed264a1c98f7364c564322cba00a83/SSLineChart/Assets/.gitkeep
--------------------------------------------------------------------------------
/SSLineChart/Classes/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSLineChart/c7bc8a8e8eed264a1c98f7364c564322cba00a83/SSLineChart/Classes/.gitkeep
--------------------------------------------------------------------------------
/_Pods.xcodeproj:
--------------------------------------------------------------------------------
1 | Example/Pods/Pods.xcodeproj
--------------------------------------------------------------------------------
/gradientGraph.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSLineChart/c7bc8a8e8eed264a1c98f7364c564322cba00a83/gradientGraph.png
--------------------------------------------------------------------------------
/lineGraph.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/SimformSolutionsPvtLtd/SSLineChart/c7bc8a8e8eed264a1c98f7364c564322cba00a83/lineGraph.png
--------------------------------------------------------------------------------