Skip to content

Commit

Permalink
Added privacy manifest file
Browse files Browse the repository at this point in the history
  • Loading branch information
danielepantaleone committed Feb 7, 2024
1 parent d8e7de3 commit 382f0c7
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
3 changes: 2 additions & 1 deletion DPCharts.podspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
Pod::Spec.new do |s|
s.name = "DPCharts"
s.version = "1.2.2"
s.version = "1.3.0"
s.summary = "A lightweight framework to render charts on iOS written in Swift"
s.license = { :type => "MIT", :file => "LICENSE" }
s.homepage = "https://github.com/danielepantaleone/DPCharts"
s.authors = { "Daniele Pantaleone" => "danielepantaleone@me.com" }
s.ios.deployment_target = "12.0"
s.source = { :git => "https://github.com/danielepantaleone/DPCharts.git", :tag => "#{s.version}" }
s.source_files = "Sources/DPCharts/**/*.swift"
s.resources = "Sources/DPCharts/**/*.xcprivacy"
s.swift_version = "5.7"
end
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ let package = Package(
targets: [
.target(
name: "DPCharts",
path: "Sources/DPCharts"),
dependencies: [],
resources: [.copy("PrivacyInfo.xcprivacy")]),
]
)
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ DPCharts provides several features and extensive customization options. Presente
- **Storyboard** support by means of **@IBDesignable** and **@IBInspectable**
- **Animations** support (where applicable)
- **Touch gesture** interaction
- Highly customizable (colors, fonts, axis positioning, spacing, insets ...)
- **UIKit** based apps support
- **Highly customizable** (colors, fonts, axis positioning, spacing, insets ...)

- Data control achieved by implementing a **datasource** protocol
- User interaction by means of implementing a **delegate** protocol
Expand Down Expand Up @@ -227,7 +228,7 @@ heatmapView.yAxisInverted = false
Add the dependency to the `DPCharts` framework in your `Podfile`:

```ruby
pod 'DPCharts', '~> 1.2.2'
pod 'DPCharts', '~> 1.3.0'
```

### Swift Package Manager
Expand All @@ -236,7 +237,7 @@ Add it as a dependency in a Swift Package:

```swift
dependencies: [
.package(url: "https://github.com/danielepantaleone/DPCharts.git", .upToNextMajor(from: "1.2.2"))
.package(url: "https://github.com/danielepantaleone/DPCharts.git", .upToNextMajor(from: "1.3.0"))
]
```

Expand Down
16 changes: 16 additions & 0 deletions Sources/DPCharts/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyTrackingDomains</key>
<array/>
<key>NSPrivacyCollectedDataTypes</key>
<array/>
<key>NSPrivacyAccessedAPITypes</key>
<array/>
</dict>
</plist>


0 comments on commit 382f0c7

Please sign in to comment.