From app version 2.19.0
to 3.1.0
, our Traveloka App's size is growing 20 MB. Now the IPA size is at 91.7 MB for iPhone 7 Plus. The App Store has the limitation up to 150 MB limitation for celullar network, sooner or later this will be issue for our customers.
One of the reasons are the richness of our assets. Each product team introduces new illustrations for express the need of the product. To accommodate this needs, iOS has feature to do On Demand Resources (ODR).
ODR is a mechanism to host the assets in the App Store, not including them in downloaded app bundle. After downloading, the resources may stay on the device through multiple launch cycles, enable accessibility to assets even faster. This feature gives benefit on smaller app size and lazy loading to app resources.
For complete explanation, please visit this presentation.
https://docs.google.com/presentation/d/155XBcnM2dOJmcZg1rotQa2a_qyAm_xRP2ifNg1tDuew/edit#slide=id.g37850ea7e4_0_94
Please reach @andrianto for further questions :)
Swift programming language is becoming the more popular language since its introduction in 2014. The growth of its community and listed as 13th most popular language in Github are indications that Swift is adopted world widely by iOS engineers.
Swift offers better readability because its clear syntax and very close to plain English. It also brings new capabilities to improve our app, in terms of performance (struct
vs class
) & capability (Codable
protocol, tuples, generics, default protocol implementation, etc). Even though Swift has limitation, it still can be considered as powerful language for us, as iOS engineers.
You can visit branch feature/swift
to try out for your products! :tada:
:tada:
Presentation : https://docs.google.com/presentation/d/1kGxKN10JywsDqDAphijXj0Wh9v6HLstXz_PWFeZFTrE/edit#slide=id.p
Note: We'll talk more about Swift, relating to guideline, code style, unit test, linter, strategy for enabling it in production in next iOS engs syncs. :bow: