# My setupCamera() line when i put it in the gameviewcontroller always tell me expected declaration how do i fix it it's for sceneKit tutorial 2

**URL:** <https://forums.kodeco.com/t/my-setupcamera-line-when-i-put-it-in-the-gameviewcontroller-always-tell-me-expected-declaration-how-do-i-fix-it-its-for-scenekit-tutorial-2/30210>\
**Category:** iOS\
**Created:** [May 29, 2017, 4:23am UTC](https://forums.kodeco.com/t/my-setupcamera-line-when-i-put-it-in-the-gameviewcontroller-always-tell-me-expected-declaration-how-do-i-fix-it-its-for-scenekit-tutorial-2/30210 "2017-05-29T04:23:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maverick01](https://s3.amazonaws.com/cdn.raywenderlich.com/community/forum-assets/noun-game-ghost-878668.png) [@maverick01](https://forums.kodeco.com/u/maverick01)\
**Post date:** [May 29, 2017, 4:23am UTC](https://forums.kodeco.com/t/my-setupcamera-line-when-i-put-it-in-the-gameviewcontroller-always-tell-me-expected-declaration-how-do-i-fix-it-its-for-scenekit-tutorial-2/30210/1 "2017-05-29T04:23:17Z")

</div>

Need help fixing my encoding like the setupCamera() line just under scnScene() keeps saying expressed declaration. That’s in scene Kit Tutorial 2 How do I pass this point. i need some help.
