davdroman / popsicle Goto Github PK
View Code? Open in Web Editor NEWSimple, extensible interpolation framework
License: MIT License
Simple, extensible interpolation framework
License: MIT License
From setupSlideShowSubviewsAndAnimations in example, it will add all of them under one view. Will it perform well? or 50 images as slideshow..
or basically how to reuse existing subview with different images and different animation transform
Hey there, I'm new to IOS so please forgive this likely very noob question.
I have an IOS project that was using DRDynamicSlideShow. When I go now to pod update I get an error saying:
warning: Could not find remote branch 1.0.1 to clone. fatal: Remote branch 1.0.1 not found in upstream origin
All links to that Pod took me to the Popsicle repo. So I tried adding Popsicle to the project instead but that doesn't work.
Once again sorry for noob question.
I create a simple interpolation between 2 views, but in the first view i have one Button, i need this button can be touched in second view.
I try to set secondView userInteractionEnabled, but have no effect, any idea?
Thank you
I've seen that the slideshow doesn't support auto layout. Is it a lot of work to add auto layout support?
After thinking about this library for a while, I've come to a decision: decoupling the keyframing/interpolation logic from the view logic, leading to 2 different projects.
For the last few months, I've been working on a value interpolation framework called Popsicle, highly inspired by both Facebook's pop and IFTTT's JazzHands, providing the best of both frameworks, such as custom value interpolation and UIKit agnosticism.
The view logic will lie on DRPageScrollView, a library I just released. This way, you can use DRPageScrollView
as a single paginated scroll view, or combine it with the future Popsicle
framework in order to get some fancy animated transitions. Needless to say that Popsicle
is completely independent from DRPageScrollView
as well.
Popsicle will be released really soon, so stay tuned :)
if you change line 54 of the demo project, the app with crash with
"fatal error: Please make sure the key path "NSLayoutAttribute.Width" you're referring to for an object of type is invalid: file /var/folders/hj/yvctlzcs65n1rlgrnvq712_h0000gn/T/CocoaPods/Try/Popsicle/Popsicle/Interpolation.swift, line 33
"
I looked in the storyboard are there are constraints for width and height. Am I doing something incorrect?
hey,
I have a button that I anchor to a corner on the first page, and it stays static across 3 separate page views. The button gets anchored fantastically, however it removes itself as a target in the second and third pages. Any idea as to how I can keep it as a functional button?
Thanks!
Hi - It works fine on iOS 6 could you update the pod spec to reflect this?
Hi,
We want to replace it with our fork, since you dropped iOS 7 support, renamed repo and force pushed all the code. Don't do that again.
I finally got myself into Swift, so I think it's time for a Swifty 2.0 version of Popsicle.
I'll probably take RazzleDazzle's Interpolatable protocol approach for interpolations rather than the current "subclassing PSInterpolation" way. I think it's much cleaner, simpler, and overall Swiftier ๐
When I install DRDynamicSlideShow via pod,I have to import them like #import ,but the animation doesn't works,when I remove DRDynamicSlideShow from Podfile and reinstall,and then manually add 2 files into project ,import them like "DRDynamicSlideShow",the animation works!
I can't figure out why...
Hi I tried to use DRDynamicSlideShow like this
-viewdidLoad //My MainVC
{
UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Main" bundle:[NSBundle mainBundle]];
_introView = [storyboard instantiateViewControllerWithIdentifier:@"intro"]; // @"intro" is MainViewController in this demo code.
[self presentViewController:_introView animated:NO completion:nil];
}
but the result is blank Content, how is the correct usage , when use as Intro, Thanks.
and also I plan to dismiss intro viewcontroller by this.
-(void)finishIntroToMainView {
[self dismissViewControllerAnimated:true completion:nil];
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.