Page 1 of 1

Integrating with SWIFT

Posted: Sun Oct 25, 2015 3:51 am
by gvossos1
Hi,

What is the best way for me to integrate a SWIFT iOS utility class into my commerical LiveCode iOS app (iMixtape)?

The SWIFT external I’d like to integrate sits at github - sound-fader-ios

Any pointers / workarounds would be greatly appreciated.

Re: Integrating with SWIFT

Posted: Tue Oct 27, 2015 4:15 am
by Simon
Hi gvossos1,
Welcome to the forum!

I don't think you need Swift to do what sound-fader-ios is doing, all can be done inside LiveCode.
Check out mobileSetSoundChannelVolume, combine that with a loop and the two formulas shown in the Git page and you can do it. That includes the logarithmic fade.

Simon

Re: Integrating with SWIFT

Posted: Tue Oct 27, 2015 11:36 am
by gvossos1
Thanks for a very plausible solution Simon - let me try and fuse this together using the mobileX LC calls.

I will report back my findings on this thread.