Add Note About Some Of These Values Intentionally Being "nil"

Usually, we want to avoid lazily setting values as "nil". However, there are some instances where Apple would set these values as "nil".
This commit is contained in:
Thomas A. 2024-08-31 10:54:56 -07:00
parent 0d161c83f9
commit 6ab07320ef

View File

@ -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;