ChartsOrg / ChartsOrg/Charts

Depreciated functions used in ChartColorTemplates

Open
#5,165 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

* [ X ] I've read, understood, and done my best to follow the [*CONTRIBUTING guidelines](https://github.com/jjatie/Charts/blob/master/CONTRIBUTING.md).

## What did you do?

Updated iOS Deployment Target for Pods to 15.0

## What did you expect to happen?

No warnings

## What happened instead?

Warnings indicating depreciated functions used in ChartColorTemplates:
- scanString(_:into:)
- scanCharacters(from:into:)
- scanInt32
- scanFloat

## DGCharts Environment

**DGCharts version/Branch/Commit Number: 5.1.0 **
**Xcode version: Version 15.1 (15C65)**
**Swift version: 5.7.2**
**Platform(s) running DGCharts: iMac**
**macOS version running Xcode: 14.1.2 (23B92)**

Screenshot 2024-04-05 at 10 53 52

Contributor guide

Open the contributing guide

Research direction

Start in ChartColorTemplates and inspect its uses of scanString(_:into:), scanCharacters(from:into:), scanInt32, and scanFloat. Build DGCharts with the reported Xcode environment to reproduce the warnings, then verify the updated implementation builds without those deprecation warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.