dambakk
02/27/2020, 10:06 AMexpect/actual
answer to this question, but I cant seem to figure it out. We are using Klock
to handle dates in our mpp project. How can we expose this type as a NSDate
for the ios platform?Artyom Degtyarev [JB]
03/03/2020, 7:43 AMKlock
instance as an input and has an NSDate
return type. As the function has to have access to the platform.Foundation.NSDate
, it should be written in the native source set of an Apple target.dambakk
03/04/2020, 8:56 AMexpect
function that calls the platform defined functions?Artyom Degtyarev [JB]
03/04/2020, 9:37 AMKlock.toNSDate()
to the native source set, not expect-actual machinery. I’m not sure that it would work, got to think some more on this problemdambakk
03/04/2020, 12:32 PMdambakk
03/04/2020, 12:32 PM