From 95c723b9a17eac53db77498f25a65f38add72ab5 Mon Sep 17 00:00:00 2001 From: Chris Flesner Date: Tue, 24 Jan 2017 11:42:03 -0600 Subject: [PATCH] Added an init method to the header of MIKMIDIMetronome to make it available while subclassing in Swift. --- Source/MIKMIDIMetronome.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/MIKMIDIMetronome.h b/Source/MIKMIDIMetronome.h index 4cebe7cf..d0589882 100644 --- a/Source/MIKMIDIMetronome.h +++ b/Source/MIKMIDIMetronome.h @@ -17,6 +17,8 @@ NS_ASSUME_NONNULL_BEGIN */ @interface MIKMIDIMetronome : MIKMIDIEndpointSynthesizer +- (nullable instancetype)init; // makes -init available to subclass in Swift while we're still a subclass of MIKMIDIEndpointSynthesizer + @property (nonatomic) MIDINoteMessage tickMessage; @property (nonatomic) MIDINoteMessage tockMessage;