I need to generate an NSData variable from an array that allows any type of data.
I tried the following code, which did not work:
let a0 : Int8 = 3
let a1 : UInt16 = 231
let a2 : Int = 1024
let array : [Any] = [a2, a1, a0]
var data = NSDat...
asked by
12.01.2016 / 11:11