ios8 - Set collection type swift -
i learning swift through apple's documentation , on collection types chapter , in sets section. 1 of examples this
var letters = set<character>() but when go enter following error.
error: use of unresolved identifier 'set' var letters = set<character>() there revision on sets according documentation, nothing helping me there.
native set available since swift 1.2. everthing points you're using lower version.
new native
setdata structure — unordered collection of unique elements bridges nsset , provides value semantics array , dictionary.
Comments
Post a Comment