func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
MPush.token = "YOUR_PUSH_TOKEN"
func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) {
MPush.registerDevice(deviceToken: deviceToken, success: {
MPush.register(toTopic: "YOUR_TOPIC")
// OR if you have more than one topic
// MPush.register(toTopics: ["TOPIC1", "TOPIC2"])