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:
parent
61d0ee0cfc
commit
043faeb604
|
@ -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()
|
||||
}
|
Loading…
Reference in New Issue