Jiwift

[iOS/Swift] Charts, DGCharts 차트 라이브러리 차이 본문

라이브러리/DGCharts

[iOS/Swift] Charts, DGCharts 차트 라이브러리 차이

지위프트 2024. 4. 12. 21:29
반응형

[iOS/Swift] Charts, DGCharts 차트 라이브러리 

 

 그래프를 만들기 위한 라이브러리를 이름을 소개하고 정리하는 글입니다.

 

 

 

DGCharts

 

ChartsOrg/Charts: Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart. (github.com)

 

GitHub - ChartsOrg/Charts: Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.

Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart. - ChartsOrg/Charts

github.com

 

 앱을 만들기 위해서 Charts 라이브러리를 많이 사용했습니다. 이 라이브러리는 안드로이드의 MPAndroidChart를 iOS 버전으로 만든 것으로 매우 유명하고 많이 사용하는 라이브러리 중 하나였습니다. 하지만..

 

애플 라이브러리

Swift Charts | Apple Developer Documentation

 

Swift Charts | Apple Developer Documentation

Construct and customize charts on every Apple platform.

developer.apple.com

 같은 이름과 기능을 가진 라이브러리가 애플에서 출시되었습니다. 차이점이라고 하면 SwiftUI를 사용하는 라이브러리인데요. 아마 이름과 기능이 같아서 한동안은 혼선이 많이 생길 수 있다는 생각이 드네요.

 

 그런 이유로 기존에 있던 써드 파티 라이브러리는 이름을 Charts에서 DGCharts로 이름이 변경되었습니다.

 

이름 정리

DGCharts: 오래전부터 존재하던 라이브러리이지만 이름을 Charts에서 DGCharts로 변경함

Charts: 애플에서 만든 라이브러리

 

지금까지 자료들은 DGCharts가 더 많을 것이기 때문에 Charts라고 검색하면 자료 선택할 때 주의를 해야 할 것 같습니다.

 

반응형