Core Graphics in Charts ?
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
This is about why Core Graphics was chosen to draw the charts instead of using CAShapeLayer on a View ?
The reason why I am asking this since overriding **drawRect** stores the backing image before display the view to screen. And this backing store consumes expensive memory and CPU though.
Hope the same charts are drawable using CAShapeLayer on UIView and thus not required to override **drawRect** method
Thanks.
Contributor guide
Research direction
Review the existing chart rendering path that uses drawRect and Core Graphics, then compare it with CAShapeLayer on a UIView. No files or tests are named; done would be an evidence-based explanation of why Core Graphics was chosen and whether the same charts can use CAShapeLayer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- computer-graphics, mobile-dev
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100