https://kotlinlang.org logo
#ios
Title
# ios
j

Jacob Rhoda

10/23/2023, 6:44 PM
It doesn’t seem like I am able to call
Instant.toNSDate()
from my Swift code… Is there anyone else who has had this issue? https://kotlinlang.org/api/kotlinx-datetime/kotlinx-datetime/kotlinx.datetime/to-n-s-date.html
j

Jeff Lockhart

10/23/2023, 7:03 PM
The API may not be exported to your Objective-C framework headers. Dependency APIs are only exported if they're used in your Kotlin code. Or you can manually export them.
💯 1
j

Jacob Rhoda

10/23/2023, 7:03 PM
Awesome, thanks!
5 Views