Apple push notification code in swift. The Mobile side.