AudioKit / AudioKitSynthOne

AudioKit Synth One: Open-Source iOS Synthesizer App
http://audiokitpro.com/synth
MIT License
1.65k stars 214 forks source link

Add iOS 13 Darkmode Support #107

Closed sieren closed 4 years ago

sieren commented 4 years ago

To prepare the PR, I had to:

Added a new dark Rack that will be used when user is in dark mode.

Add Support for Dark Mode by moving from the Boolean value we previously used to an enum specifying the 3 available modes to the user (light, dark, system). Added a convenience function that checks the trait collection for the current mode and falls back to false if not supported on OS. However we should not run into users using "system" on versions below iOS 13 because the option (segment) will be removed programatically for these users.

See video in #synthone Slack channel.