Develop an Audiounit in Swift

I have an application that should also work as an AudioUnit plugin. In Xcode, I go to File > New > Target, select AudioUnit and make sure that the selected language is "Swift". In the generated code, though, I have that the actual code of the plugin is within "h", "m" Objective C Files:


Code Block
#import "ChordezAuAudioUnit.h"
#import <AVFoundation/AVFoundation.h>
// Define parameter addresses.
const AudioUnitParameterID myParam1 = 0;
@interface ChordezAuAudioUnit ()
@property (nonatomic, readwrite) AUParameterTree *parameterTree;
@property AUAudioUnitBusArray *inputBusArray;
@property AUAudioUnitBusArray *outputBusArray;
@end
@implementation ChordezAuAudioUnit
@synthesize parameterTree = _parameterTree;
- (instancetype)initWithComponentDescription:(AudioComponentDescription)componentDescription
[...]


How do I develop the plugin in Swift?
Thanks
Develop an Audiounit in Swift
 
 
Q