Skip to main content

配列から Dictionary に

swift
return Dictionary(uniqueKeysWithValues: zip(books.map({ $0.title }), books))