How to use Superpowered lib in Swift project

前端 未结 3 2081
迷失自我
迷失自我 2021-02-14 03:21

I want to make an app in Swift that simply record via the mic of the iPhone and then play the sound recorded.

For that, I\'d like to use the lib Superpowered that is a s

3条回答
  •  孤街浪徒
    2021-02-14 04:02

    I'm a bit surprised that you would have to provide prototypes of method. I used Objective C libraries in my Swift project before and I only had to add the header files in my bridging header.

    See example from my project. The bridging header contains just that:

    //  Use this file to import your target's public headers that you would like to expose to Swift.
    //
    
    #import "QTouchposeApplication.h"
    #import 
    #import 
    #import 
    

提交回复
热议问题