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

Design

Spen Taylor
Spen Taylor
13,027 Points

Animation in iOS

Hi guys! I'm planning an educational app that will (hopefully) teach an aspect of science. A big part of the app will be simple animations that will demonstrate the different scientific processes.

Being that these animations will be reasonably simple, having each one as an image array seems wasteful in terms on file size etc.

Is the only other option to programatically animate each element with-in XCode or is there any software that works like flash? - like I said the animations will be very simple, but I still feel animating programatically may be a bit of a farce!

Thanks heaps!

Spen

3 Answers

Kraig Walker
Kraig Walker
4,401 Points

Hey Spen

You could try using Adobe Edge Animate to create your animations. Edge Animate is a new tool from Adobe that allows you to create Animation and interactivity sequences in a Flash Professional-like interface, which are saved out as HTML5 & CSS files.

In order to display these animations, they would need to be viewed within a WebView object inside your native application. The WebView essentially uses Safari to render the content on-screen.

You could in fact build your whole app in HTML5 and wrap it as a native app using PhoneGap. You'd probably be best using something like jQuery Mobile, or Foundation 4 to get started coding the interface, but the plus side is you don't need to compile stuff to see a change, just open the index.html file in your browser and hit refresh.

Spen Taylor
Spen Taylor
13,027 Points

Thanks Kraig! I'll be sue o check out adobe edge :) it's been years since I last animated, back when flash mx was the way to go haha! Thanks again buddy

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

There are so many ways to animate in iOS and there so many different kinds of animations that you won't find one single library that can represent it all. Although you will find various libraries specializing in different animations:

Then you have good examples of various animations that are possible: