回答編集履歴

1

少し改良しました

2019/09/07 15:07

投稿

k2moons
k2moons

スコア184

test CHANGED
@@ -132,35 +132,35 @@
132
132
 
133
133
  case .dog:
134
134
 
135
- self.performSegue(withIdentifier: howFoodMenu.dog.seugeIdentifier, sender: nil)
135
+ self.performSegue(withIdentifier: menu.seugeIdentifier, sender: nil)
136
136
 
137
137
  case .cat:
138
138
 
139
- self.performSegue(withIdentifier: howFoodMenu.cat.seugeIdentifier, sender: nil)
139
+ self.performSegue(withIdentifier: menu.seugeIdentifier, sender: nil)
140
140
 
141
141
  case .smallAnimal:
142
142
 
143
- self.performSegue(withIdentifier: howFoodMenu.smallAnimal.seugeIdentifier, sender: nil)
143
+ self.performSegue(withIdentifier: menu.seugeIdentifier, sender: nil)
144
144
 
145
145
  case .bird:
146
146
 
147
- self.performSegue(withIdentifier: howFoodMenu.bird.seugeIdentifier, sender: nil)
147
+ self.performSegue(withIdentifier: menu.seugeIdentifier, sender: nil)
148
148
 
149
149
  case .reptile:
150
150
 
151
- self.performSegue(withIdentifier: howFoodMenu.reptile.seugeIdentifier, sender: nil)
151
+ self.performSegue(withIdentifier: menu.seugeIdentifier, sender: nil)
152
152
 
153
153
  case .amphibian:
154
154
 
155
- self.performSegue(withIdentifier: howFoodMenu.amphibian.seugeIdentifier, sender: nil)
155
+ self.performSegue(withIdentifier: menu.seugeIdentifier, sender: nil)
156
156
 
157
157
  case .fish:
158
158
 
159
- self .performSegue(withIdentifier: howFoodMenu.fish.seugeIdentifier, sender: nil)
159
+ self .performSegue(withIdentifier: menu.seugeIdentifier, sender: nil)
160
160
 
161
161
  case .elses:
162
162
 
163
- performSegue(withIdentifier: howFoodMenu.fish.seugeIdentifier, sender: nil)
163
+ performSegue(withIdentifier: menu.seugeIdentifier, sender: nil)
164
164
 
165
165
  }
166
166
 
@@ -170,4 +170,6 @@
170
170
 
171
171
  }
172
172
 
173
+
174
+
173
175
  ```