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 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 !