Skip to content

Commit 6ab0732

Browse files
committed
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".
1 parent 0d161c8 commit 6ab0732

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/frameworks/CoreMIDI/src/MIDIServices.m

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#import <CoreMIDI/MIDIServices.h>
22

3+
// Note: It is expected for some of these values to be assigned `nil`,
4+
// Not sure why Apple doesn't actually assign a CFString value to these
5+
// variables...
6+
37
/* Identification */
48
const CFStringRef kMIDIPropertyName = nil;
59
const CFStringRef kMIDIPropertyUniqueID = nil;

0 commit comments

Comments
 (0)