3 ms·
Another interesting point about using a JSON file to map to device-specific resources is that the concept could be extended for future devices. Let's say that
by robomartin 15y ago
Another interesting point about using a JSON file to map to device-specific resources is that the concept could be extended for future devices.
Let's say that a future iDevice comes with a better audio engine. Maybe it can do 5.1 surround? You could extend the JSON structure to include a section to define where the 5.1 surround files would be for the new device. Older devices wouldn't have to waste storage and download audio files that they can never use.