How could we convert anyobject to string in swift 3, it's very easy in the older version by using.
var str = toString(AnyObject)
I tried String(AnyObject)
but the output is always optional, even when i'm sure that AnyObject is not a optional value.
AnyObject
has a value if you´re usingas!
otherwise it will crash. – Polygamy