swift - How to add AnyObject type variable in Tuples -
how can give anyobject type 1 of parameters in tuple in swift? like:
var abc = (anyobject type, string)
we can utilize anyobject type parameters in tuple import foundation
var abc : (anyobject, anyobject) abc = ([1,2,3,4],2)
we can give anyobject type parameters in tuple utilize of "any" protocol
var http200status : (any,string) http200status = (200, "success")
swift
No comments:
Post a Comment