I I've been waiting fixed size array for 2 years now and as I can see, it's not for tomorrow.
I'm working on a DVD decoder. Let me show you a little part of the IFO file header struct.
UInt32 sectorMenuCellAddressTable; UInt32 sectorMenuVOBUAddressMap; UInt32 sectorTitleCellAddressTable; // VTS olny UInt32 sectorTitleVOBUAddressMap; // VTS only UInt8 unused5[24]; DataVideoAttributes menuVideoAttributes; UInt16 nbMenuAudioStreams; DataAudioAttributes menuAudioAttributes[MAX_AUDIO_STREAMS]; UInt8 reserved1[16]; UInt16 nbMenuSubpictureStreams; // 0 ou 1 DataSubpictureAttributes menuSubpictureAttributes; UInt8 reserved2[164]; DataVideoAttributes titleVideoAttributes; // VTS only
For now, the only solution I have is a Obj-C wrapper to access the struct. If Swift wants replace C a day, fixed size array is a must have.