Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

iOS Build a Self-Destructing Message iPhone App Retrieving and Viewing Data from Parse.com Viewing Images Using UIImageView

Nick Kohrn
Nick Kohrn
36,935 Points

Xcode Not Recognizing ImageViewController

I am currently working through the self-destructing messaging app as part of the iOS track and I have run into a problem. During the Viewing Images Using UIImageView video I have added the line of code just as Ben did: 'ImageViewController *imageViewController = (ImageViewController *)segue.destinationViewController;'

The error I get is: https://www.dropbox.com/s/bm1ghbdlegrokww/Screen%20Shot%202014-08-28%20at%202.52.03%20PM.png?dl=0

Any ideas of how to rectify?

2 Answers

Caleb Abraham
Caleb Abraham
15,158 Points

import "ImageViewController.h"

perhaps???

Nick Kohrn
Nick Kohrn
36,935 Points

Importing the ImageViewController.h was done as instructed in the video, but the problem persists.