= message.body as? [String: Any], let type = body["type"] as? String else { return } switch type { case "sectionList": handleSectionList(body) case "sectionChange": handleSectionChange(body) default: break } } Swift メソッド
= message.body as? [String: Any], let type = body["type"] as? String else { return } switch type { case "sectionList": handleSectionList(body) case "sectionChange": handleSectionChange(body) default: break } } Swift メソッド