When using data class in iOS, it's fields are rena...
# multiplatform
m
When using data class in iOS, it's fields are renamed to component1, component2 etc Is there a fix for that?
b
Its fields should still be there. componentN methods are the methods that are generated under the hood that make destructuring work in Kotlin
m
🤦‍♂️ 🤦‍♀️ 🤦 Honestly, You helped me a ton. Friday night got me. It works indeed, xcode suggested me the list of component fields and i just assumed my fields aren't there. Even looked at generated files etc but... They were. If i scrolled. Aaaaanyway... Thank You so much! 🎉
b
No prob!