beeminder / BeeSwift

Official Beeminder for iOS app
Other
29 stars 6 forks source link

Use the .svg graph images instead of .png? #280

Open krugerk opened 3 years ago

krugerk commented 3 years ago

The API provides links to both svg and png versions of the graph.

Xcode 12 added support for svg in asset catalogs. https://developer.apple.com/documentation/xcode-release-notes/xcode-12-release-notes

If UIImageViewcan support svg directly, then the app would present much crisper thumbnails and graphs.

Also the svg version is usually smaller than the .png, though for graphs with a ton of data, it can be the other way around!

(If supporting svg means loading the thumbnails/graphs in webviews, then I think we should skip it for now, sticking with the png versions.)

Verbata: graph images, graph thumbnails,