1. mono0926

    No comment

    mono0926
Changes in body
Source | HTML | Preview
@@ -81,11 +81,11 @@
```swift
var s = "00" + String(dataElement, radix: 16)
let chars = s.characters
let end = chars.endIndex
let start = s.characters.index(end, offsetBy: -2)
-String(chars[start..<end])
+s[start..<end]
```
---
というわけで、[1つ目の書き方](http://qiita.com/mono0926/items/3cf0dca3029f32f54a09#mapでdevicetokenの要素を文字列に変換してjoin)がお勧めですヽ(・ω・`)