Rollout.io.inc added Swift support to its own similar solution for iOS apps. Rollout says it enables mobile developers to instantly push code level changes to live apps without having to release a new version through the Apple App Store wait for users to manually update their apps.
Company announced on the request of its developer community, Rollout provide that functionality to completely new arena because Apple’s fast-growing native language in Swift. Now swift developer will have the ability to make critical updates to their live apps via Rollout without the hurdle of going through the App Store review process.
In today world Swift is Apple young open source programming language positioned by the company to replace the ageing Objective-C as the default language for coding apps targeting iOS based iPhones and iPads.
For building the Rollout Swift which is replacement for Swift, which is difficult to create because swift has lack of dynamic capabilities compared to Objective-c. But in Rollout app developers are now able to patch code at runtime with swift, something that was impossible to do before.
Detailed information regarding the Rollout announcement is posted in “Rollout Now Supports Swift”.
Rollout said they developed new technology in order to support Swift, they have created pseudo method swizzling in Swift. All the magic still happens without the need for developers to make any code changes or decide in advance what methods they want to patch. Company further describes the coding gymnastics required for this update is in another blog post titled “Rollout Swift Support-Under The Hood.”
To describe the technically here, it involves a technique that company calls “Pre-SIL instrumentation”.
SIL stands for Swift Intermediate Language.
SIL is generated from the Abstract Syntax Tree. This intermediate form is used by the swift optimizer to perform Swift Language specific Optimization prior to generating the LLVM IR.
LLVM is a compiler infrastructure project, and IR stands for “immediate representation”.
Unlike React Native Tool that was open sourced by Walmart, Rollout tool is full-on commercial product. Pricing for various editions of the Rollout solution ranging from Lite to Pro to Enterprise is available here.