「Swift入門」keyとvalueの配列を返すサンプルコード
サンプルコード
let member = [“userid": “10001", “username": “yamada", “birthday": “1991-09-12″,"hometown":"yokohama"]
print(Array(member.keys))
print(Array(member.values))
Coding Changes the World
サンプルコード
let member = [“userid": “10001", “username": “yamada", “birthday": “1991-09-12″,"hometown":"yokohama"]
print(Array(member.keys))
print(Array(member.values))