Added extension TanImage.imageBytesAsNSData() as common's toNSData() extension is exported to Swift as if it was for a different class

This commit is contained in:
dankito 2020-07-23 22:35:54 +02:00
parent 61d0ee0cfc
commit 043faeb604
1 changed files with 10 additions and 0 deletions

View File

@ -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()
}