MidiParser icon indicating copy to clipboard operation
MidiParser copied to clipboard

XCode 11.3 creates warning on Compile: withUnsafeBytes is depreciated

Open DF9TS opened this issue 6 years ago • 0 comments

XCode 11.3 (11C29) generates this warning on compile:

/Users/.../MidiParser/Source/MidiData/MidiSequence.swift:40:27: 'withUnsafeBytes' is deprecated: use withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R instead

I am new to Swift and can'T help myself, sorry.

Regards

Gerd.

DF9TS avatar Dec 16 '19 19:12 DF9TS