Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
How to generate a hex string for push notifications
import Foundation
extension Data {
var hexString: String {
return{ return String(format: "%02hhx", $0) }).joined()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment