I have two separate projects:
one that has png animations set by a timer and counter to keep looping when the user presses start/stop (swift).
The other detecting when the user blows into the iPhones microphone (objective c).
I want to join both of these so that the microphone detection triggers the animation to play and stop. Can anyone advise on the best way to do this, I have started by creating a viewcontroller.swift in my microphone detection project & using a bridging header to do so. I am unsure of how to proceed with inputting the animation code, which file it goes in, how to link the swift and objective c files etc?
Thanks in advance.