I am trying to create an animation in which a circle will be containing some text or image inside it, when user will tap on circle, the circle will reveal its child circles, which will be containing some details in text form. This is something similar to discovr app http://discovr.info/. I am totally a newbie in graphics and animation world. I have read several post & documents like where to start with animations, opengl, core animation, cocos2d etc, but still don't know how should I start working on this application. I will be really grateful if you can help me in getting stating up this project. Please also tell me where else I should look for resources.
Thanks in advance,
Regards.
Great start for CoreAnimation (if you don't want to read whole Apple documentation) could be this tutorials by Mike Nachbaur (4 parts):
Animating Interfaces with Core Animation: Part 1
Animating Interfaces with Core Animation: Part 2
Animating Interfaces with Core Animation: Part 3
Animating Interfaces with Core Animation: Part 4
When new iOS trainees in my job are starting to learn CA I often give them this tutorials because everything is clearly explained there.
There are some great guides in the Apple developer library.
Related
I have to create the same animation like http://dribbble.com/shots/1078726-Animated-UI-AE-giveaway in my iOS application.
Is there any iOS SDK for the same which can be used for this?
Any help would be appreciated
That depends on what SDK support you are looking for. You can rotate views in 3D space with a perspective using Core Animation allowing you to fold them.
I would recommend that you read this article about the Anatomy of a Folding Animation. That should get started with folding views. The rest seems to be applying the same kind of fold animation many different times on different parts of the UI.
You will not get any ready made project same as you want.
But you can always learn from example.
If you really want to learn animation in iOS that you should read:
Basic iOS 6 iPhone Animation using Core Animation
You can alo refer Apple iOS document of Core Animation: About Core Animation
If you want to see example from some developer that visit : Search results for animation
This two I think very related to you :
FlipTransform for iOS
MPFoldTransition for iOS
PaperFold-for-iOS
I am currently working on my first IOS app and have sort of hit a 'brick wall' if you will. I am using Cocos2D for most of my graphical interface do to my preference and ease when working with chipmunk.
Currently I am trying to create a scene that has at least 2 layers displayed at once, split screen style. One layer I need to be a vertical scrolling menu, while the other layer I need to be a pan/zoom 'map' type layer. Being the noob that I am when it comes to Objective-C and Cocos2D I can not seem to figure out how to even attempt this. I have done some searching and came across the extensions for Cocos2D which offer the pan/zoom layer.
Any help or pointers to tutorials, references, sites, etc. would be greatly appreciated!
How can I do this "grouping" animation like Apple mail or the Gmail iPad app?
Does this need to be hard coded, and completely done with the animation framework, or does Apple expose an API for this to be done. I checked the developer docs, and I don't see anything like this. But Gmail was able to exactly replicate Apple's animation, and that's why I am curious to know if it can be done in an easier way.
I am 95% sure Apple does not have a UIStackOfPaperViewController or anything like that. You would have to code this up yourself.
Conceptually, it isn't too complicated: a background view with a texture, and each subview tilted at a random angle and a drop shadow beneath. You could do the drop shadow by drawing a gradient in a view around the "real" view. Core Animation's default behaviors would probably do the right thing, e.g. if you create the page view off screen and then set the final location, it will fly onto the stack pretty much how you would like it.
If you don't need support for releases earlier than iOS 6, there's probably good stuff in the Collection View Controller to make this easier.
Hopefully that's enough information to get you started, but your question is really broad. It's difficult to answer "How do I do X?" if you don't specify your starting point, or answer "How can I do this in an easier way?" if you don't specify what you think the hard way is first.
So I am about to start a project for an application (Not a game application) that requires a lot of animation. For example a lot of pie and bar charts that animate on the screen.
If I use cocos2d am I still able to use UI elements such as UITableView, UIButton, UISegmentedControl, etc? Can you combine Cocos2d with normal iOS UI Elements on the same view?
Which one is better for creating simple animations?
What are the advantages and disadvantages of using each for a non-game project?
There is the ability to combine Cocos2d and UIKit, but I don't know to what extent you can take it. Check out this tutorial on combining them: http://www.raywenderlich.com/4817/how-to-integrate-cocos2d-and-uikit
I'm fairly new to iOS programming and did the same research you are currently doing for my project which is very animation heavy, but not a game. I found much more information, forums and tutorials on doing animations with Cocos2d than I did for Core Animation. Not to say it's not out there, or that 1 is necessarily better than the other for what you're trying to accomplish, just my 2 cents and several weeks of Googling.
Check out Core Plot maybe you can use that to build your app.
I need to get the animation of a note being stuck on a board for an iPad app that I am doing!
I am using a UITableView for this.
It should have a tilt so that it looks like it has been stuck up on the board.
I liked the Evernote app's notebooks tab design and I am trying something similar.
Can you help?
Your question is too vague. You're going to need to do some homework.
Start with Getting Started with Graphics and Animation (and don't ignore the other guides it tells you to read). Continue with Core Animation Programming Guide, give Core Animation Cookbook a read for some ideas, then ask specific, pointed questions when you're ready.