Skip to content

Commit

Permalink
Added an init method to the header of MIKMIDIMetronome to make it ava…
Browse files Browse the repository at this point in the history
…ilable while subclassing in Swift.
  • Loading branch information
kris2point0 committed Jan 24, 2017
1 parent 7c988f2 commit 95c723b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/MIKMIDIMetronome.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 95c723b

Please sign in to comment.