Swiftpack.co -  denniscm190/StockCharts as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
denniscm190/StockCharts
SwiftUI stock charts 🎉
.package(url: "https://github.com/denniscm190/StockCharts.git", from: "v1.0")

Build Status

SwiftUI Stock Charts

Swift package for displaying interactive stock charts easily 🎉

View1-Screenshot

Features

  • Interactive line chart
  • Light weight
  • Easy to use

Requirements

  • iOS 14+
  • Swift 5+

Instalation

  • In Xcode go to File -> Swift packages -> Add package dependency
  • Copy and paste https://github.com/denniscm190/StockCharts.git

Usage

import StockCharts

Line chart

ChartView(data: [Double], dates: [String]?, hours: [String]?)

Arguments

data: [120.3, 121.0, 132.4, ...]
dates: ["yyyy-MM-dd", "2021-01-01", "2021-01-02", ...]
hours: ["10:20", "10:21", "10:22", ...]  // It could be any format
LineChartVideo

GitHub

link
Stars: 12
Last commit: 3 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

v1.0
6 days ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API