Specifically, I am looking to use CA on properties of types other than
- integers and doubles
- CGRect, CGPoint, CGSize, and CGAffineTransform structures
- CATransform3D data structures
- CGColor and CGImage references
and in objects other than CALayers ... |
All,
I have built a nifty demo application that displays data about our internal systems as a full-screen "billboard" style display. You could think of this as something like an application displaying ... |
I am creating an application in iPhone and I have several UIViews and layers in it. I am doing some animations using CAKeyframeAnimation class and since the animations have to be ... |
I'm working on an animated clock application for the iPhone, and I have to pivot all the 3 nodes in the view, which I have obtained in the following code:
[CATransaction begin];
[CATransaction ...
|
I'm trying to animate the drawing of a circle. Something the Shazaam app is doing while recording, but much simpler.
I've got this code in the drawRect: method to draw the ... |
Is there a way to speed up animations using something like a blur?
I have a loop which must be travelled through to represent one "increment" in my UI. When the ... |
I am developing my first iPhone application, and I have made it past the "machinery" and now I am wrapping up fit & finish details.
I have a view that slides in ... |
|
I don't really understand what this function is good for. Can someone explain that (maybe with some examples)?
Can I rotate an UIImageView object with this one?
|
I am using the following code for calling a method once my animation stops
[UIView beginAnimations:@"swipe" context:NULL];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationDelegate:self];
[UIView setAnimationDidStopSelector:@selector(transitionDidStop:finished:context:)];
[UIView setAnimationDuration:0.3f];
//My Animation
[UIView commitAnimations];
And this is the signature of the transitionDidStop method
- (void)transitionDidStop:(NSString ...
|
I have an class "Cube" and in there is a method -rotate. The method sets the anchorPoint at the bottom left and then rotates the cube by 90 degrees. After that, ... |
I've tried this, but that doesn't work:
CATransform3D currentTransform = self.layer.transform;
CATransform3D identityTransform = CATransform3DIdentity;
if (currentTransform == identityTransform)
NSLog(@"the same");
I really woulnd like to compare each single field in the matrix ;)
Can I ... |
in my (puzzle) game the pieces are drawn on-screen using a CALayer for each piece. There are 48 pieces (in an 8x6 grid) with each piece being 48x48 pixels. I'm not ... |
I don't want to just use a UIActivityIndicatorView -- I want the spinning animation that you see in the Maps application while you are doing a CoreLocation lookup.
Do I have to ... |
It seems like a pretty simple problem, but I have been unable to find any good answers.
What I'm trying to do is to make some sort of animation while some function ... |
How would I animate a circle on the iPhone so that the arc starts at "0 degrees" and ends at "360 degrees"?
Advance Thanks,
Sat
|
Example from Mac OS X:
[[aView animator] setFrame:NSMakeRect(100.0,100.0,300.0,300.0)];
I have tried something similar in UIKit, but it seems the animator method is not there for UIView. So there's no "implicit" animation?
|
I have a telephone wheel. On the touchend, it goes to his position with an animation.
Until the angle is less than 180°, it returns clockwise. No problem, with this code :
... |
I want to use a timing function lets say kCAMediaTimingFunctionEaseInEaseOut
My aim is I have start point (X1,Y1) and end point (X2,Y2) and I want a ease function which will provide the ... |
I'm making an app where one of the objects needs to appear not to move or rotate during AutoRotation, but everything else needs to rotate and be repositioned. The way ... |
I have a UITextView that has a lot of content (e.g. credit view), and I want to create an automatic scrolling view for it (something like the credits page for Firefox)
where ... |
Is it possible to tween a variable (let's say a float from 0.0 to 2.0 over a period of time) in objective-C?
Something like what TweenMax would do in flash.
I guess the ... |
Hi again everybody.
I'm having a problem implementing the TTNavigator + TTWebController to capture links in styled labels and open them in the TTWebController.
In my current UIViewController (not a navigation controller), in ... |
How to open pickerview with animation(bottom to top)
|
Is there any way to animate leafing through views to look like a real book leafing through?
|
I was looking at some animations in my iPhone app and felt like it was kind of ugly. And then I undertsood it: it just doesn't animate through subpixel states.
So, ... |
Core Animation uses Background Threads. When performing heavy calculations on the main thread, CA stops animating due to its low priority threads. How could Operation Queues help out in such an ... |
What kind of trick can I use to speed up and improve an image sequence animation?
I'm using the code below, but then just running through the codes below takes a couple ... |
How to make page turn animation like the Stanza app ?
Earlier i was using , but its not the animation i am looking for.
[CATransaction begin];
CATransition ...
|
Iphone application is using the static co-ordinates to reach at some points in the application,which is based on the button event.
But what i want is when i drag the item than ... |
I have 2 layer is top and bottom on my program
how can i remove top layer with animation or bring top layer to back is it possible?
|
Does anyone know how to create a "text crawl" like that shown at the bottom of the ESPN ScoreCenter app for the iphone?
Basically, there is a small bar of text at ... |
How can I display the loading screen animation in iphone? I mean the bars arranged in circles. So that I can use it while some of the part of my app ... |
In my application i am uploading some images to the servelet, which takes some time to complete upload. I have implemented an uiactivityviewer using IB and connected it to an outlet ... |
What are the best strategies for syncing music to object movement? The app I envision would have an underlying soundtrack with characters animating in time to the music. What I'm after ... |
I am new to the objective c coding in iPhone. i am using below code to animate the image for 40 seconds
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:40.0];
object.transform = CGAffineTransformMakeRotation(1.57);
[UIView commitAnimations];
i need to speed ... |
I've been using CALayer animations in my program, primarily to move around CALayers with animation on my screen. My problem is that I don't want to exit the layer-moving (card dealing, ... |
I am trying to do a simple animation on the iPhone and then have it stop once it is finished. The code I am currently using is:
NSArray *imageArray = [[NSArray alloc] ...
|
I create my own number pad view successfully and I want to simulate the default number pad appear animated effect, but it can't work fine, it can't animate as default number ... |
I have a question that we might answer together i have a tickertape in my iphone app (Like those stick tickers) and i use a NSThread to keep the memory away ... |
I was wondering what they mean by:
[CustomView beginAnimations:@"whatIsThis" context:whatIsThis];
I am just wondering what those who things do and how I would use them?
Please help!
|
I have a question... how is programmatically reached the Animation blocks?
[UIView beginAnimations:@"repositionAnimation" context:nil];
// -----------------------------------------------------------------------------
[view setFrame:viewRect];
[view setAlpha:0];
...
...
// -----------------------------------------------------------------------------
[UIView commitAnimations];
How the messages are stored and processed on commitAnimations ... |
I'm creating an iPhone app and am wondering how to have a progress animation when you're loading data? I see this a lot in applications such as Tweetie, but haven't been ... |
i like to start this animation when tilting. it doesn't, so i suppose some essential code is missing. please help:
- (void)accelerometer:(UIAccelerometer *)accelerometer didAccelerate:(UIAcceleration *)acceleration {
flap.animationImages = [NSArray arrayWithObjects:
...
|
im trying to do an animation with an uiimageview.
in this view is an image with an arrow, that i want to rotate about 45 degrees back and forward very smoothly like ... |
say I have...
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5];
CGPoint position = myObject.center;
position.x = position.x - 10;
myObject.center = position;
[UIView commitAnimations];
Core animation happens on a separate thread is there a way to know when
an ... |
I try to fade the datepicker in and out smootly based on the switch setting on a view like below. I have tried the following in my view controller, but that ... |
I have a view with which I have a button calling the following method. The view hides/shows but without any animation
- (void) displayEvent:(id)sender {
[UIView beginAnimations:nil context:NULL];
...
|
I'm new to iPhone development, and doing some experimentation with Core Animation. I've run into a small problem regarding the duration of the animation I'm attempting.
Basically, Ive got a view with ... |
I have an animation created with Core Animation for my UIImageView, but i would like to know if its possible to play the animation in reverse/backwards mode. Anyone got an idea?
... |
I am doing iPhone development and how to make CGRect return double value? I found there was a macro "#define CGFLOAT_IS_DOUBLE", but how can I change it?
|
I am starting to learn to use UIView animation. So I wrote the following lines:
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:2.0];
[UIView setAnimationRepeatCount:2];
[UIView setAnimationRepeatAutoreverses:YES];
CGPoint position = greenView.center;
position.y = ...
|
I cant figure out where core animation on iPhone OS 3.1.2 is defined.
Anybody know?
|
This is for iPhone Developers. What would be the code for an event handler? For my project I want it so that on collision display an animation for 3 seconds....How would ... |
I am fairly new to transition and animation methods in Iphone. Can somebody pl. guide me the basics of transition and Animation in Iphone. This is needed frequently in my Apps. ... |
I am working on an iPhone app at the moment and I am struggling with some animation.
Basically I have 109 frames for dragging about a man on screen, so what I ... |
In my iPhone app, I am trying to get some red and white stripes that are scrolling across the screen to animate smoothly when the speed of the stripes gets high. ... |
Hey guys, I've just had a nagging question for a while regarding iPhone app user interfaces. For example, consider WeightBot's User Interface. I am wondering, how are most of ... |
I have implement one game application .In that game i want to implement wateer animation.PLease give me idea about that.
same like:http://www.heikobehrens.net/2009/10/02/burlington-ducky-iphone-app/
|
I would like to build a simple animation for a school project.
I want to make water wave within a box in such a way that tilting the device causes the water ... |
I have a simple animation which simply modify the position of a button:
[UIView beginAnimation:nil context:nil];
[UIView setAnimationsDuration:3.0];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
mybutton.frame = CGREctMake(20, 233, 280, 46);
[UIView commitAnimations];
I want to perform some other animations when this ... |
In an iPhone application, I try to catch animation endings using setAnimationDidStopSelector. I try to suspend code execution until animation ends. I have tried this; set a global BOOL variable, set ... |
i have an flash based animation.but since iphone doesnt support flash.which format can i convert it to other than gif? (gif doesnt support audio)
|
In UIView animation blocks I can specify timing curves like UIViewAnimationCurveEaseOut and so on. Is there a way of providing an own timing function to core animation, which behaves different from ... |
i like to animate my image "finga" not centered but from left or right:
[UIView beginAnimations:nil context:nil]; ...
|
I want to make an animation, like the deleting a note in iPhone Notes app. But here I want to do it for Tabbar. So deleting a view (something shows in ... |
I'm trying to slide some (custom) tab-like buttons into view. I don't want them all to move at the same time. Also, they shouldn't move one at at time ... |
I am using this code from this site
http://ramin.firoozye.com/2009/09/29/semi-modal-transparent-dialogs-on-the-iphone/
to show a modal view and remove
it. It displays fine ie drops in from the top but when being removed it ... |
I have a navigation bar which i push 2 navigationBarIems without animation (animate:NO).
I am animating the transition from views, so i don't want those items to animate atomatically. The problem is ... |
Consider a circle. Now consider a radius of the circle, drawn from the center of the circle towards the right. Now imagine that the radius is rotating about the center of ... |
Can anyone here recommend any good books for getting my head around Core animation?
I've been through the Apple docs and while I'm sure it's all there, I haven't been able to ... |
I'm using following lines of code to animate:
CATransition *animation = [self getAnimation:dirString];
[[self view] exchangeSubviewAtIndex:0 withSubviewAtIndex:1];
[[[self view] layer] addAnimation:animation forKey:kAnimationKey];
After end of animation, I ... |
I'm creating an interactive e-book for the iPad. This book will contain multiple pages that will consist of a lot of animations (frame and motion animations), transitions,... I was wondering what ... |
I want to record voice and sync that up with animation on the iphone as a user touches the screen. Are there apis that will help me accomplish this? ... |
Within the iTunes Music Store app on the iPad, if you select an album, a modal view flips out of the album over to the middle of the screen. Is this ... |
Im building a web app using JQTouch and have been very impressed with it so far! I'm currently having a little problem in that I now need to link between certain ... |
I want to perform animation on main thread (cause UIKit objects are not thread-safe), but prepare it in some separate thread. I have (baAnimation - is CABasicAnimation allocated & inited before):
SEL ...
|
I wan't to perform an animation before quitting a view. The problem is that if I write this code:
[self animationMethod];
[self removeFromSuperview];
the animation is not presented because the removeFromSuperview instruction is immediatly ... |
I am coming from a long spell as a Flash developer, and find simple code-based animation on the iPhone much more difficult than in Flash using actionscript. There are several excellent ... |
I have a requirement as below.
In my application, user will select 5 phots from album and will place them on 5 different views. If user wants to see them one by ... |
Is it possible that a CADisplayLink gets called one or two more times even after being invalidated?
It looks that way to me, and this is causing me a problem because the ...
|
how load a pdf into iphone and my pdf is of 200 pages then it should allow to turn the pages as we do with while reading book manually ... |
I am building a book where I will use the page curl animation to flip the pages, something like this:
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.45f];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.view cache:NO];
[UIView commitAnimations];
I will use curl ... |
So I have some animation blocks to create some very simple animations on my app (eg. a wheel spinning continuously). This is the code for the animation (I have changed if ... |
I have the following code that gets called after the view loads. It works perfectly on the iPhone, but appears to do nothing at all on the iPad. I ... |
I am using the code:
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDelegate:self];
[UIView setAnimationDuration:0.3];
[info setFrame:CGRectMake( 0, 96, 320, 384)];
[UIView commitAnimations];
to have an animation of the object "info" to change its heght to 384... Nothing else is ... |
ref1view.hidden = NO;
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.25f];
[ref1view setAlpha:([ref1view alpha] == 1.0f) ? 0.0f : 1.0f];
[UIView commitAnimations];
Can anyone please give me a breakdown of how this works? Specifically this line:
[ref1view setAlpha:([ref1view alpha] == ...
|
How to Add Multiple Animations to a Sprite, (i.e) one animation after another finished.
Also how to remove the old animation from the sprite.
Thank You.
|
At the start of my app, the status bar is hidden, due to the Info.plist setting called 'Status bar is initially hidden'. Later on I want to show the status bar ... |
I want to display a series of text in an animated way one after the other i.e. i want something as displayed in the follwing link..
http://www.tcs.com/homepage/Pages/default.aspx
In the above link ... |
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.5];
...
[UIView commitAnimations];
For example I need to animate frame's width conditionally, along with the rest of other modifications which are mandatory. The reason I can't put the code out ... |
I'm tring to get notified when animation starts and stops, so my code is:
[UIView setAnimationDelegate:self];
[UIView setAnimationDidStopSelector:@selector(animationDidStop:finished:)];
[UIView setAnimationWillStartSelector:@selector(animationDidStart:)];
I do implement these 2 methods, but animationDidStop:finished: got notified, and animationDidStart: did not.
Here's my ... |
The basic idea
is very easy. Simplified you could say... a snake like line realized by a let's say 3px line is expanding across the screen collecting and interacting with different stuff, ... |
I have an array of 1000images.
I need to sometimes animate till a certain index, but not everytime. Is there a way to specify this in the [myImageView startAnimating]?
Thanks
|
I have a working view animation, that curls up a container view, while the containerview.subviews changes. (before the animation a UITableView will be shown, after it is a custom view, name ... |
I want to make an elastic popup animation (in the iphone google maps app, kind of like the popup)
Does anybody have an idea of what the math formula would look like ... |
I am trying to show a book opening animation as in iBooks. Any inputs will be helpful.
|
I'm writing an iOS app which needs to generate and animate individual text characters dynamically. The actual text being displayed will be dynamic and I want to use layers and masks ... |
I want to learn "Core Animation" for the iOS not for the Mac.
Two books exist:
PragProg: Core Animation
AW: Core Animation Simplified
Have you read one of them (or both)? do you have a ... |
Im trying to create a spinning dial control, basically a set of 6 digits that spin around and around to give the effect of a spinning number meter (similar to your ... |
I want to show water flowing from one container to another in iphone app.
Can some suggest me how to do it .. by open gl or by simply couple of images??
Plzz ... |