Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Text
Posted by: Nigel Smith
Added: Feb 1, 2018 12:15 AM
Views: 22
Tags: no tags
  1. let index = locations.index { $0.mapItem.name == locationItem.name }