У меня есть этот фрагмент кода
var dataFormat: AudioStreamBasicDescription?
var propSize: UInt32 = UInt32(MemoryLayout<AudioStreamBasicDescription>.size)
try SCoreAudioError.check(status: AudioFileGetProperty(audioFileID!, kAudioFilePropertyDataFormat, &propSize, &dataFormat), "Couldn't get file's data format")
Переменная как-то заполняется, но отладчик llbd показывает значение моей переменной dataFormat
как nil
(печатая его с po dataFormat
),в то время как инспектор переменных говорит, что такая переменная не nil
(она равна some
с содержимым)