ios - String not convertible to [AnyObject] -
i have string declared var searchstring = ""
i trying parse query shown below: query?.wherekey("username", containedin: searchstring)
what issue?
this in xcode 6.3 updated , swift 1.2.
the function expects array of anyobjects, supply string. wrap string in array...
query?.wherekey("username", containedin: [searchstring])
Comments
Post a Comment