I have an example written in Java that I would like to convert into Swift. Below is a section of the code. I would really appreciate if you can help.

```
Map<String, Integer> someProtocol = new HashMap<>();
someProtocol.put("one", Integer.valueOf(1));
someProtocol.put("two", Integer.valueOf(2));

for (Map.Entry<String, Integer> e : someProtocol.entrySet() {
    int index = e.getValue();
    ...
}

```

NOTE: `entrySet()` is a method of the [`java.util.Map`](https://docs.oracle.com/javase/7/docs/api/java/util/Map.html) interface whereas `getValue()` is a method of the [`java.util.Map.Entry`](https://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html) interface.