v0.5.26 New Float Selector. Button now works as View.

Discussions related to Testing VisualSwift. This version is not available anymore, please go to the VisualSwift - Music forum above.
Post Reply
Site Admin
Posts: 53
Joined: Sat Nov 30, 2019 2:17 pm

v0.5.26 New Float Selector. Button now works as View.

Post by jorge » Mon Aug 17, 2020 12:06 am

Version 0.5.26 fixes a bug reported by numbuh37 ( thanks ): The Button component wasn't working when used as View content.
There is also a new Float Selector component.

TestFlight v0.5.27 for iPadOS

Button should now work when used as View content

The button component now requires defining it's content.
The following screenshot shows an example of using a Button component where the content is defined as a ZStack with black background and white text on top. The modifiers used are cornerRadius and padding:

New Float Selector component

The Float Selector component allows you to create a custom list of items with a name and a corresponding float value. The following example shows a Float Selector setup for controlling the octave of an oscillator using pitch values -24,-12, 0, +12 and +24 that get added to the PitchToFrequency component:

Post Reply