Questions tagged [facebook-pop]

Pop is an extensible animation engine for iOS and OS X. In addition to basic static animations, it supports spring and decay dynamic animations, making it useful for building realistic, physics-based interactions. The API allows quick integration with existing Objective-C codebases and enables the animation of any property on any object. It's the framework that drives all the animations and transitions in Facebook's Paper app.

57 questions
1
vote
1 answer

Can I apply the same animation to multiple text fields?

I'm creating a method that shakes my UITextField and use POP to do the heavy lifting. - (void)textFieldErrorAnimation { POPSpringAnimation *shake = [POPSpringAnimation animationWithPropertyNamed:kPOPLayerPositionX]; shake.springBounciness…
user1923975
  • 1,389
  • 4
  • 13
  • 29
1
vote
1 answer

How can I pause, resume or control the speed of facebook-pop animation?

Before using facebook-pop, I have used core animation. So I can pause, resume or control the speed of animation by changing the speed of the CALayer. Now I have used facebook-pop in some situation and found it very powerful. I want to use…
Vincent
  • 141
  • 1
  • 2
  • 15
1
vote
1 answer

Using Facebook Pop to animate view affine transform

I have the following code that will animate some UITableViewCells from the bottom in a spring manner: override func viewDidAppear(animated: Bool) { super.viewDidAppear(animated) self.tableView.reloadData() let cellsNum =…
pedroremedios
  • 763
  • 1
  • 11
  • 39
1
vote
1 answer

How to use Facebook Pop to animate layer affine transform?

The following code is used for a NSButton with wantsLayer set to YES. This works, however if the app is busy processing something in the background, the rotation animation is very choppy: POPSpringAnimation *animation = [POPSpringAnimation…
strangetimes
  • 4,953
  • 1
  • 34
  • 62
1
vote
0 answers

FacebookPOP animation delays

I am having diffuculties about bouncies animation effect , whenever i swipe down, The two UI elements swipe down , 1st is container ( which holds UIPickerView ) and it changes coordinate(x,y) and w/h value, second UI is just for pull on/off and I am…
Onder OZCAN
  • 1,556
  • 1
  • 16
  • 36
1
vote
1 answer

Animation of UILabel and UITextField (Facebook POP framework)

I'm using the Facebook POP framework to animate UILabels and UITextFields when the user entered a wrong input. I want to simulate the kind of spring animation when you enter the wrong password in on a mac. I've writting this method for doing the…
bdv
  • 1,154
  • 2
  • 19
  • 42
1
vote
1 answer

How to always rotate half with facebook POP?

I'm new in iOS. I want to always rotate half when user clicked a button. Following is the code, it only rotate once and never rotate again when I clicked it. @property UIButton *button; - (void)viewDidLoad { [super viewDidLoad]; CGFloat…
goofansu
  • 2,277
  • 3
  • 30
  • 48
1
vote
1 answer

iOS - Facebook POP: slide tableview cell to bottom right corner

Maybe you can help me with a problem. I'm using the new Facebook POP animation framework in an iOS (7) app. I have a tableview with a "+ button" in each cell. I want that if a user clicks on a button in the cell, that the cell (a copy of that cell)…
1
vote
0 answers

CAShapeLayer from UIBezierPath Flickers on Scale Animation

I'm running into an issue where animating a closed, filled, and rasterized layer masked by a UIBezierPath sometimes chops off part of one of the arcs during the animation. The chopping seems to be tied to the size of the heart. Any help would be…
Rob
  • 530
  • 1
  • 5
  • 8
1
vote
0 answers

Facebook Pop: problems when animating UITableViewCell

I'm animating a UITableViewCell the following way, first I enlarge it to show more details: [NSObject pop_animate:^{ cell.pop_springBounciness = 16; cell.pop_springSpeed = 6; cell.pop_spring.frame = CGRectMake(x, y, width,…
swalkner
  • 16,679
  • 31
  • 123
  • 210
1
vote
2 answers

Animation queue sliding a series of UILabels out of view using Facebook POP and Swift

I want to 'queue' an animation sequence that would sequentially slide a series of labels out of view with a slight delay between each slide-out. Starting from the top one and ending in the last one. Currently I have the following function which I…
Martin Velchevski
  • 874
  • 11
  • 33
0
votes
1 answer

Facebook POP animation works only once

I'm using the Facebook Pop library to bounce a view every time something happens in my app. The problem is that the animation works only on the 1st occurrence. It is easily reproducible with this snippet - (IBAction)buttonAction:(id)sender { …
Jan
  • 7,444
  • 9
  • 50
  • 74
0
votes
1 answer

How to make a Spinning animation in facebook/pop?

I have been searching for the whole internet about how to make a Spinning animation with facebook POP animation. With no luck that kPOPLayerRotation only supports "Flip X/Y" animation, but not "Spin" (like the rotate property in front-end CSS), can…
Dicky Tsang
  • 6,135
  • 4
  • 20
  • 18
0
votes
1 answer

UIView Animation with POP framework grow and shrink in same action

I'm using POP framework for animations. I want to tap a UIButton and have it grow by 5%, then shrinks back to original size. I can get the grow or the shrink to work, but since I haven't used the framework I don't know how to make both happen in one…
noobsmcgoobs
  • 2,716
  • 5
  • 32
  • 52
0
votes
1 answer

UIWebView black color at bottom increases with Animation?

There are some posts, where UIWebView bottom is black and can be resolved by two simple ways. 1. Clear Background of UIWebView 2. Set Opaque to NO. However, this only solves problem for static UIWebView which is not changing its Frame or…
Chatar Veer Suthar
  • 15,541
  • 26
  • 90
  • 154