Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift get keys from dictionary

componentArray = Array(dict.keys) // for Dictionary

componentArray = dict.allKeys // for NSDictionary
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #keys #dictionary
ADD COMMENT
Topic
Name
3+7 =