Vojtěch Pešek
09/22/2022, 12:58 PMcomponentX()
methods on data class
?
Hi,
we have a kmm project for android and iOS targets. Currently, i’ve been working on reducing the library size and especially the library objc header for iOS. I noticed that `data class`es generate component methods for each value in the constructor. This is what I would expect. Those componentX()
methods also appear in the header, but usually there is no need for the iOS developers to call the method. This is because they can call the parameter by name, which is far more descriptive.jw
09/22/2022, 1:51 PMVojtěch Pešek
09/22/2022, 1:54 PMsergey.bogolepov
09/22/2022, 2:50 PMKamilH
09/22/2022, 4:54 PMsergey.bogolepov
09/22/2022, 6:12 PMKamilH
09/22/2022, 6:14 PMVojtěch Pešek
09/23/2022, 6:44 AMVojtěch Pešek
09/23/2022, 6:47 AMsergey.bogolepov
09/26/2022, 7:38 AM