Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Playlist Browser with Objective-C Working With Multiple View Controllers Passing Information Between Views

Sean Craig
Sean Craig
5,178 Points

Xcode wont autocomplete the prepareForSuegue method. Not sure if I hit a button or did a quick key that turns that off.

Does anyone know why it would do this?

Mac Bellingrath
Mac Bellingrath
13,502 Points

Hi Sean, Xcode sometimes does get a little choked up, you could first try "cleaning" your project by searching for "clean" under the Product menu (or shift+command+k). If this doesn't fix your issue, it's possible that you are trying to call the prepareForSegue method incorrectly or with a typo (it is misspelled in your post?).

4 Answers

Sean Craig
Sean Craig
5,178 Points

Thanks Mac! That was it. Never seen the Clean commend.

It happend to me the same, the solution that Mac posted is the fastest one. I had to re-open my project and it work

thibaut noah
thibaut noah
8,692 Points

Had to re-open my project too, thanks guys for the tip