๐—ž๐— ๐—ฃ - ๐—›๐—ผ๐˜„ ๐˜๐—ผ ๐˜€๐˜๐—ฎ๐—ฟ๐˜ ๐˜€๐—ต๐—ฎ๐—ฟ๐—ถ๐—ป๐—ด ๐—ฐ๐—ผ๐—ฑ๐—ฒ ๐—ถ๐—ป ๐—ฒ๐˜…๐—ถ๐˜€๐˜๐—ถ๐—ป๐—ด ๐—”๐—ป๐—ฑ๐—ฟ๐—ผ๐—ถ๐—ฑ/๐—œ๐—ข...๐—ž๐— ๐—ฃ - ๐—›๐—ผ๐˜„ ๐˜๐—ผ ๐˜€๐˜๐—ฎ๐—ฟ๐˜ ๐˜€๐—ต๐—ฎ๐—ฟ๐—ถ๐—ป๐—ด ๐—ฐ๐—ผ๐—ฑ๐—ฒ ๐—ถ๐—ป ๐—ฒ๐˜…๐—ถ๐˜€๐˜๐—ถ๐—ป๐—ด ๐—”๐—ป๐—ฑ๐—ฟ๐—ผ๐—ถ๐—ฑ/๐—œ๐—ข...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
๐—ž๐— ๐—ฃ - ๐—›๐—ผ๐˜„ ๐˜๐—ผ ๐˜€๐˜๐—ฎ๐—ฟ๐˜ ๐˜€๐—ต๐—ฎ๐—ฟ๐—ถ๐—ป๐—ด ๐—ฐ๐—ผ๐—ฑ๐—ฒ ๐—ถ๐—ป ๐—ฒ๐˜…๐—ถ๐˜€๐˜๐—ถ๐—ป๐—ด ๐—”๐—ป๐—ฑ๐—ฟ๐—ผ๐—ถ๐—ฑ/๐—œ๐—ข๐—ฆ ๐—ฎ๐—ฝ๐—ฝ๐˜€ ? Most companies don't start Kotlin Multiplatform greenfield. They have an existing Android repo and an existing iOS repo, both already shipping, and the real question is: how do you share logic without merging them or rewriting either one? Built a working demo: extracted a loan EMI calculator that existed twice, once in Kotlin and once in Swift, and moved it into its own small Kotlin Multiplatform module; it had been quietly able to drift out of sync. Published it in two ways: JitPack for the Android repo, and a Swift Package pointing at a released XCFramework for the iOS repo. Neither app repo touches the other's code. 81 lines of duplicated logic gone (37 Kotlin + 44 Swift), replaced with one 67-line shared implementation both platforms now depend on. Verified identical output across 7 test cases 100% match, checked with a real Gradle test run against the JitPack artifact and a real xcodebuild test run against the SPM-resolved XCFramework, not just claimed. Full before/after + step-by-step migration guide in the repo. ๐Ÿ”— Shared module: https://github.com/ranab4b/kmp-shared-business-logic ๐Ÿ”— Before/after demo + migration guide: https://github.com/ranab4b/kmp-adoption-before-after
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started