missing parameter #2 in call error in CGRectIntersectsRect <p>I am writing a small game in swift, in which a boat has to go around obstacles. However, I keep getting this "missing argument for parameter #2 in call" error in CGRectInersectsRect. I have checked how to call it in the directory, and am calling it correctly. What is the issue with my code?. Here it is:</p> <pre><code> if (CGRectIntersectsRect(boat: CGRect, obstacleImageView: CGRect)) { endGame() } } </code></pre>