array .contains() in swift expecting a thrown bool?

后端 未结 0 1474
青春惊慌失措
青春惊慌失措 2020-12-14 07:30

I am trying to check if the array newGames contains a certain object of class Game. If it does, then I will not add it to the array. If it doesn\'t, I will add it. My code i

相关标签:
回答
  • 消灭零回复
提交回复
热议问题