CoreAnimation & Cocos2D - Which one should I go with? - ios

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.

Related

Creating a Pitch n Putt scoring card using Swift - UI design

Firstly, thank you for reading my question. I am always in complete awe and inspired by the knowledge I find on this site.
I have a Swift coding question and I'd appreciate any feedback before I get too deep into using this approach.
I am writing a Pitch and Putt scoring card for iPhones using Swift and this is my very first iOS application.
I've manually created a number of stack views with text fields inside. I will apply values to these fields and hide/show based on the number of players in the game.
I've noticed the operations within Xcode are beginning to run very slowly as I add more stack views.
Is this the best approach to developing this type of application?
I wondered if I could create the entire UI using code but from what I've researched this probably isn't easily achievable.
Thank you in advance for any responses.
Dono

How to make a simple 3d object viewer component for already build native iOS app?

Several years ago I was curious about creating some objects (spoon, ball, tv, ...) in 3d modeling program, export the textures, and then have a screen in iOS app, that can open one object at a time with a possibility to rotate and zoom it. This seemed quite basic and most used case but I didn't find any simple and ready to use solutions/libraries/plugins, just raw OpenGL ES (GlKit), so I refused to use it, as it would require too much knowledge and time as I haven't done any 3d stuff before and my primary work is not related with 3d.
There are also Unity and Cocos3d engines, and it looks like they allow to extend the code by using iOS plugins (xibs/storyboards, navigation with view controllers and etc), but this means you have to make your app project as Unity/Cocos3d first, and only then add your usual UIKit stuff as a plugin. Now that is not acceptable because the project should be written using UIKit first, and I expect to add 3d viewing stuff as a separate component that encapsulates all the necessary stuff inside it as a black box, because I don't want to mess my project up, as this 3d stuff is an optional feature.
Now, after several years I'v searched for the thing again looking for simple 3d viewing plugins/solutions for UIKit, but the situation is pretty much the same imho. I saw iOS8 there will add Scene Kit, but I'm not sure will it be something close to what I expect. So, still I'm not sure is there any solution that would require minimum time efforts, or is OpenGL ES the best solution for this need.
Check out the CC3DemoMultiScene demo app in the latest version of Cocos3D. It demonstrates how to include a Cocos3D scene in a standard UIKit storyboard, and to have the GL view only a component of a larger UIView.

create animation in iOS project like Adobe after effect

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

scrolling and pan/zoom in single scene cocos2D

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!

Getting started with animations

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.

Resources