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 Simple iPhone App (iOS7) Animating and Intercepting Events Intercepting Motion Events

There is no - (void) motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event since the xcode 6 update.

Since I updated my xcode, the motionBegan, motionEnded & motionCancelled functions are not present or do not automattically pop up.

1 Answer

Hi Irwin,

I've just gone through the same video with xcode 6 and didn't have a problem.

I didn't upgrade from the previous version though, so not sure if that made a difference.

The only setting I could find that may have an impact was in Xcode > Preferences then Text Editing tab - there is a Code completion section, not sure if all your options there are checked?

Not sure I have any other ideas.

Hope you managed to get it sorted.

Hamish

Hello Hamish

I just tried that, still no luck.

I'm thinking that this is a framework or lirbary that I didn't put into the code, though I thought it would be there by now. Thank you for taking the time to answer this! I'll update if I find anything.

Thanks Again

Irwin.