Skip to content

Commit

Permalink
Fix swift package index build
Browse files Browse the repository at this point in the history
  • Loading branch information
danielepantaleone committed Jun 16, 2023
1 parent 5271e11 commit 1b3aec0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
13 changes: 1 addition & 12 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.8
// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand All @@ -9,24 +9,13 @@ let package = Package(
.iOS(.v12)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "DPCharts",
targets: ["DPCharts"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "DPCharts",
dependencies: [],
path: "Sources/DPCharts"),
.testTarget(
name: "DPChartsTests",
dependencies: ["DPCharts"]),
]
)
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@
<img alt="logo" src="./Assets/DPChartsLogo.png">
</p>

![Swift](https://img.shields.io/badge/Swift-5.7_|5.8-orange?style=flat-square)
![Platform](https://img.shields.io/badge/Platform-iOS-blue?style=flat-square)
![Swift PM](https://img.shields.io/badge/Swift_Package_Manager-compatible-orange?style=flat-square)
[![Swift](https://img.shields.io/endpoint?url=https://swiftpackageindex.com/api/packages/danielepantaleone/DPCharts/badge?type=swift-versions&style=flat-square)](https://swiftpackageindex.com/danielepantaleone/DPCharts)
[![Platform](https://img.shields.io/endpoint?url=https://swiftpackageindex.com/api/packages/danielepantaleone/DPCharts/badge?type=platforms&style=flat-square)](https://swiftpackageindex.com/danielepantaleone/DPCharts)
![CocoaPods](https://img.shields.io/cocoapods/v/DPCharts.svg?style=flat-square)
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/danielepantaleone/DPCharts?style=flat-square)
![GitHub](https://img.shields.io/github/license/danielepantaleone/DPCharts?style=flat-square)

DPCharts is a Swift-based lightweight framework designed specifically for rendering charts on iOS. Its main objective is to create a user-friendly chart library that follows the iOS delegation pattern approach. Each chart within the framework is responsible solely for presenting data, rather than managing the data itself. To manage the data, you provide the chart with a datasource object (an object conforming to the chart datasource protocol). Additionally, charts manage gesture interaction, and touch gesture events are delivered to the configured delegate (an object conforming to the chart delegate protocol) when applicable.
DPCharts is a Swift-based lightweight framework designed specifically for rendering charts on iOS. Its main objective is to create a user-friendly chart library that follows the iOS delegation pattern approach. Each chart within the framework is responsible solely for presenting data, rather than managing the data itself. To manage the data, you provide the chart with a datasource object (an object conforming to the chart datasource protocol). Additionally, charts manage gesture interaction, and touch gesture events are delivered to the configured delegate (an object conforming to the chart delegate protocol).

## Table of contents

Expand Down

0 comments on commit 1b3aec0

Please sign in to comment.