Page 1 of 1

VSTGUI on iOS without VST SDK

Posted: Sun Sep 18, 2016 9:10 am
by yeahtuna
Is this possible? I've mostly finished porting my OSX application to iOS and now I'd like to ditch the VST SDK. On OSX and Windows, we simply derive our editor from PlUGGUIEditor. Will this trick work for iOS as well?

Regards,
Rob

Re: VSTGUI on iOS without VST SDK

Posted: Thu Sep 22, 2016 2:14 pm
by Arne Scheffler
You don't even need PlugGUIEditor. Have a look at the project in "vstgui/tests/ios standalone/" on how to use vstgui on ios.

Re: VSTGUI on iOS without VST SDK

Posted: Sat Sep 24, 2016 12:28 am
by yeahtuna
Hi Arne,

I checked out that project. My GUI is build around the old VSTGUI 3.6 way of doing this. For OSX and PC my editor is derived from PLUGGUIEditor and for iOS, it's currently being derived from VSTGUIEditor and friends. Am I stuck using the VST SDK?

Regards,
Rob

Re: VSTGUI on iOS without VST SDK

Posted: Sat Sep 24, 2016 6:32 am
by Arne Scheffler
All I can tell you is, that the CFrame does not need a VSTGUIEditorInterface object to work on any platform. If you need a base VSTGUIEditorInterface class, then write a dummy one that does nothing just implementing the virtual methods.

Re: VSTGUI on iOS without VST SDK

Posted: Mon Sep 26, 2016 2:36 am
by yeahtuna
Thanks. I'll give that a go.

Re: VSTGUI on iOS without VST SDK

Posted: Fri Jan 27, 2017 7:35 am
by yeahtuna
Hi Arne,

I was hoping you could point me in the right direction. So I've fInally found the time to work on this, but I'm still having trouble understanding where my CFrame is supposed to be coming when building for iOS.

Here is how I construct my editor for various platforms:

Code: Select all

//VST3
class Editor:	public VSTGUIEditor, public CControlListener, public IParameterFinder, public IContextMenuTarget

//VST24
class Editor : public AEffGUIEditor, public CControlListener

//Windows / OSX Standalone
class Editor : public PluginGUIEditor, public CControlListener
What should I be deriving my editor from for iOS (without the VST SDK)?

Re: VSTGUI on iOS without VST SDK

Posted: Fri Jan 27, 2017 12:08 pm
by Arne Scheffler
Hi,
which methods do you override from PluginGUIEditor for your Win/macOS standalone ?

cheers
Arne

Re: VSTGUI on iOS without VST SDK

Posted: Fri Jan 27, 2017 2:25 pm
by yeahtuna
Hi Arne,

I'm overriding open, close, and idle.

Rob

Re: VSTGUI on iOS without VST SDK

Posted: Fri Jan 27, 2017 5:00 pm
by Arne Scheffler
OK, they are mainly no-ops, so you just build your own base class which inherits from VSTGUIEditorInterface and and open, close and idle as virtual methods.
Then you just need to create an UIView and give that to the CFrame open method.

Re: VSTGUI on iOS without VST SDK

Posted: Fri Jan 27, 2017 11:18 pm
by yeahtuna
Success! Thanks a million, Arne.

Rob.