ChartsOrg / ChartsOrg/Charts

embrace SwiftUI for a new framework?

Open
#4,019 4 comments 7 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

I just came across a video [Building Custom Views with SwiftUI](https://developer.apple.com/videos/play/wwdc2019/237/)

The demo looks really powerful with the `drawingGroup()` API to render tremendous shapes simultaneously in metal, and a much easier yet powerful interface to draw shapes comparing to CoreGraphics with great effects and animations, and performance -which seems our pain point.

I'm opening a discussion here that maybe we could start thinking about transforming this library to a SwiftUI backed framework? Though it requires iOS13, but we could make a sibling framework, and eventually end this library in far future.

@jjatie @petester42 @danielgindi

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing Charts library and the linked Apple SwiftUI custom-views video to understand the proposed direction. The issue does not name files, tests, an entry point, or acceptance criteria; a useful next step would be defining the sibling framework's scope and what would count as a completed migration.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.