Previous didRegisterForRemotePush function was mostly usable from objective C where easy NSData -> (void *) cast is easy to do, but it was much harder in swift.
Previous didRegisterForRemotePush function was mostly usable from objective C where easy NSData -> (void *) cast is easy to do, but it was much harder in swift.