Skip to content

Commit

Permalink
Add Note About Some Of These Values Intentionally Being "nil"
Browse files Browse the repository at this point in the history
Usually, we want to avoid lazily setting values as "nil". However, there are some instances where Apple would set these values as "nil".
  • Loading branch information
CuriousTommy committed Aug 31, 2024
1 parent 0d161c8 commit 6ab0732
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/frameworks/CoreMIDI/src/MIDIServices.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
#import <CoreMIDI/MIDIServices.h>

// Note: It is expected for some of these values to be assigned `nil`,
// Not sure why Apple doesn't actually assign a CFString value to these
// variables...

/* Identification */
const CFStringRef kMIDIPropertyName = nil;
const CFStringRef kMIDIPropertyUniqueID = nil;
Expand Down

0 comments on commit 6ab0732

Please sign in to comment.