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.
Questions tagged [facebook-pop]
57 questions
11
votes
3 answers
Centering Modal View with Autolayout
I'm presenting a UIViewController using presentViewController and a custom modalPresentationStyle, in an effort to implement a Facebook POP animated transition.
The modal view itself is completely dynamic, defined using Autolayout constraints in…

emma ray
- 13,336
- 1
- 24
- 50
11
votes
3 answers
Swift NSValue.valueWithCGRect
I'm trying to animate the bounds of a UIButton using Facebook pop POPSpringAnimation, but I can't find what I should use in swift in replace of NSValue.valueWithCGRect
This is what I'm trying to do:
@IBAction func buttonTapped(sender : UIButton) {
…

Ross Gibson
- 980
- 1
- 8
- 14
7
votes
2 answers
Animate constraints using Facebook pop?
I was able to animate a constraint change using
[UIView animateWithDuration:0.5
delay:0.5
usingSpringWithDamping:0.7
initialSpringVelocity:0.7
options:0
animations:^{
…

raulriera
- 714
- 10
- 28
7
votes
4 answers
Autolayout and Facebook Pop
Is there currently a way to use the Facebook Pop framework with auto-layout or do you have to use springs and struts? I keep reading that it is possible, but I don't know what the syntax is to be able to animate a view's top constraint.

Endama
- 743
- 8
- 25
6
votes
1 answer
Migrating from `POPSpringAnimation` to native iOS framework in Swift 4
I am working on an old project and want to get rid of POP framework I am sure that any animation can be done with native iOS framework.
Here is the old code:
POPSpringAnimation *springAnimation = [POPSpringAnimation…

iOSGeek
- 5,115
- 9
- 46
- 74
5
votes
0 answers
Animating UICollectionView and UICollectionViewCell using facebook POP framework
I am using POP framework to achieve HomeScreen Animation in facebook paper app(i.e posts with horizontal scrolling when user pans the posts it grows dynamically and settles to full screen),may i know how to achieve this and what are the views(i.e…

skkrish
- 287
- 4
- 23
5
votes
1 answer
How to make a POPAnimation loop
How can I have a loop animation with Facebook POP framework.
I tried to set NO for a property named removedOnCompletion in the POPBasicAnimation class but It doesn't work.

WilliamZang
- 300
- 2
- 10
5
votes
2 answers
How do I slow down an animation with Facebook Pop?
I'm animating a view on the X-axis using Facebook Pop's spring animation. It works fine, except I can't seem to change the speed. It seems that the velocity property is the only way to do this from what I've read, but no values I set for it seem…

user3654985
- 123
- 2
- 6
5
votes
7 answers
Framework header file not found (iOS pop framework)
I'd like to install facebook's pop framework. I have a multi-project workspace which is not using cocoa pods. I want just the simplest, dumbest, quickest install.
From the pop readme:
"... you can add the project to your workspace and adopt the…

tj77
- 51
- 1
- 1
- 3
4
votes
1 answer
How do I use the exported iOS code from Facebook Origami?
Hello to you animation experts!
I've stumbled across Origami by Facebook that uses their Pop library for iOS.
Origami Examples
All the tutorials (on their site + everywhere else online) seem to focus on mastering the Quartz Composer side of it. I'm…

Chris Birch
- 2,041
- 2
- 19
- 22
4
votes
1 answer
How to add facebook open source code pop to project directly
I have downloaded the facebook open source code pop from github. But all header files are imported like this: #import . What should I to do with project setting to support import file like this in my project. I know…

simalone
- 2,768
- 1
- 15
- 20
4
votes
2 answers
How to animate UIView layer background color with Facebook Pop Animation Framework?
Facebook just open sourced their awesome POP animation framework which is built from Core Animation, and I can't figure out how to animate a layers background color.
Here's my code:
POPBasicAnimation *colorAnimation = [POPBasicAnimation…

Justin Cabral
- 565
- 1
- 6
- 20
3
votes
0 answers
Can't use pop in Xcode 8
I'm using Xcode 8 and both Swift and Objective-C in my code. Recently, I updated my Xcode from 7.3.1 to 8 and converted Swift syntax to Swift 3. Then I got this error:
'pop/POP.h' file not found.
failed to import bridging header
also some problem…

Hongxu Jin
- 817
- 2
- 9
- 16
3
votes
3 answers
How to chain Facebook pop Animations in a continuous repeatForever?
SITUTATION:
I have created a pulsating animation and it works.
Using the repeatForever property, I was able to make it continuous as I wanted.
But one issue remains that I wasn't able to fix after doing A LOT of research.
EXPLANATION:
The only…

Coder1000
- 4,071
- 9
- 35
- 84
3
votes
1 answer
How do I scale a NSView from the center using Facebook Pop animation?
Please note, this is a Mac OS X (NSView) related question.
I'm trying to use Facebook's POP animation to scale a NSView from the center (to 75% its size) and then back to 100%, however I can't get it to work. Given kPOPLayerScaleXY doesn't seem to…

strangetimes
- 4,953
- 1
- 34
- 62