Over the past few years, the weight of mobile apps has grown significantly. However, Apple plans to deal with this growth. Specially to solve this problem cupertinos modified Swift so that the final application after the compilation it took 8-15% less than it is now.
It is reported that in the fifth version of Swift mobile app will weigh less. The reduction will be achieved due to the compression libraries. After such optimization, a popular Reddit client called Apollo “lost” from 35.7 to 30 MB and the Chirp (Twitter client for the Apple Watch) – from 28.8 to 20 MB.
It should be noted that the ultimate size is highly dependent on the model of the iPhone and iPad, on which it is installed. The above “measurements” are relevant for Xs Max iPhone and other Apple smartphones apps can “lose” a little less.
The fifth version of the Swift is already available to developers and, by default, support is enabled in iOS 12.2, 12.2 tvOS, watchOS 5.2 and macOS 10.14.4. Users can only upgrade to these versions of the OS and to wait for optimized versions of applications.