v0.5.18 with beginning of Xcode export

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

v0.5.18 with beginning of Xcode export

Post by jorge » Tue Jul 28, 2020 2:55 pm

This version introduces the first step towards generating and sharing an Xcode project. This is an initial step and currently only supports VStack, Text and Knob. It doesn't yet generate AUv3 extensions or C code for Audio processing.

Here's an example:

Image

On an iPad, when you tap the "Export Xcode Project" button, you should see a share sheet that allows you to share a zip file with the Xcode project. If you're running VisualSwift on MacOS you can just open the path to the Xcode project shown, no need to share the project. Following is a screen capture when running on an iPad:

Image

If you open the project in Xcode on a Mac you should see that it has two targets, one for iOS and another for MacOS:

Image

Next build and run the project and you should get the following on a Mac:

Image

and the following for iOS:

Image

Inside the project's ContentView.swift file you should see the SwiftUI code generated by VisualSwift:

Image

Following is a link for iPadOS:

iPadOS

Post Reply