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 Image Based Animation

Keith Selvin
PLUS
Keith Selvin
Courses Plus Student 630 Points

copy and pasting the images for animation

i understand the man in the video had already had the code written for all 60 images of the crystal ball

but i do not want to sit here all day typing in all 60

what do i do?

5 Answers

Keith Selvin
PLUS
Keith Selvin
Courses Plus Student 630 Points

I have all the images in my Images.xcassets folder but to type in every file name for the self.backgroundImageView I have to type in the names of the files

Yordi de Kleijn
seal-mask
.a{fill-rule:evenodd;}techdegree
Yordi de Kleijn
iOS Development Techdegree Student 5,166 Points

Yes of course you have to, or you could write a program that substrings a string and adds an itterator count like ->i<- to your string so you can get img001, img002, but that takes longer than just writing it out !