diff --git a/ui/BankingUiCommon/src/iosMain/kotlin/net/dankito/banking/Extensions.kt b/ui/BankingUiCommon/src/iosMain/kotlin/net/dankito/banking/Extensions.kt new file mode 100644 index 00000000..f468868c --- /dev/null +++ b/ui/BankingUiCommon/src/iosMain/kotlin/net/dankito/banking/Extensions.kt @@ -0,0 +1,10 @@ +package net.dankito.banking + +import net.dankito.banking.ui.model.tan.TanImage +import net.dankito.utils.multiplatform.toNSData +import platform.Foundation.NSData + + +fun TanImage.imageBytesAsNSData(): NSData { + return imageBytes.toNSData() +} \ No newline at end of file