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

Animation Images Challenge 2/4

Task Question:"Set the animation images property of 'imageView' to 'robotImages'."

I first approached this by responding with: self.imageView.animationImages = robotImages;

I receive the error message:" Bummer! Make sure you create an NSArray named 'robotImages' with an instance of UIImage objects." Which is the same error message from the previous task challenge. Which I already passed.

After a few other failed attempts I began to question if I am understanding the question at all. I've watched the video 9 times already but I am drawing a blank on how to set the property of animated images for imageView to robotImages.

Any assistance/pointers/clues/hints will be much appreciated.

1 Answer

Hey Troy Fine,

You are on the right track. I don't fully understand it myself quite yet, but your don't need the "self" part of your expression. It has something to do within the code challenge the self isn't needed because we didn't set it as a property of the class?... haha I'm not 100% sure why.

Thank you.

I remember now why it doesn't work. :)