Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

access dictionary with index swift

let intIndex = 1 // where intIndex < myDictionary.count
let index = myDictionary.index(myDictionary.startIndex, offsetBy: intIndex)
myDictionary.keys[index]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #access #dictionary #index #swift
ADD COMMENT
Topic
Name
5+5 =