timdonnelly / advance Goto Github PK
View Code? Open in Web Editor NEWPhysics-based animations for iOS, tvOS, and macOS.
Home Page: http://timdonnelly.github.io/Advance/
License: BSD 2-Clause "Simplified" License
Physics-based animations for iOS, tvOS, and macOS.
Home Page: http://timdonnelly.github.io/Advance/
License: BSD 2-Clause "Simplified" License
Hello,
How can I make the paging cards vertical instead of moving horizontal when swiping.
This is in the demo.
HI,
I've been trying for hours to make the animation start, but couldn't. The onChange
method, never gets called.
This is the code:
let spring = Spring(initialValue: 0)
spring.onChange = { [weak view] val in
print("change!") // never gets called.
view?.frame.origin.y = val
}
spring.target = 500
I've tried debugging the whole thing and the simulation function never turns into .animating (state). I can't figure this out.
Tried calling both view.setNeedsLayout()
and view.setNeedsDisplay()
.
What am I missing?
Thanks.
Great library! I'm using the popular NGraphics lib (excellent for creating UI on iOS because it can render SVG vector images, and you can draw UI controls in Inkscape in minutes instead of coding them manually for days). So I want to make an important feature request: can you add the option to animate vector buttons made with the NGraphics library? Here is the link if you don't know it already:
https://github.com/praeclarum/NGraphics
For example it would be cool to:
It would be a marriage made in heaven!
Thanks in advance!
Hey guys, do you have any reason for not adding support for CocoaPods? I'd be happy to submit a PR 😄
use changedValue == targetValue
is incorrect for some reason.
Is there a Swfit 3.0 version?
Disclaimer: Carthage newbie here, but I created the Cartfile and did:
carthage update --platform iOS
*** Fetching Advance
*** Checking out Advance at "0.9"
*** xcodebuild output can be found in /var/folders/_l/d2wy_rhd1kg7h_rz74px4hmh0000gn/T/carthage-xcodebuild.64oimv.log
*** Building scheme "Advance" in Advance.xcodeproj
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “HV4J834MC8” were found.
A shell task failed with exit code 65:
** BUILD FAILED **
The following build commands failed:
Check dependencies
(1 failure)
is something that you can do or is it at Carthage level?
Any plan for Swift 3.0 support?
Method syntax is all over the place right now, including a bunch of methods with _
first parameters.
The whole project needs a cleanup pass.
Hi,
Xcode 11 finally has SPM support built-in, so adding SPM packages to iOS / macOS is now possible without much hassle.
The current Package.swift
works fine for this, there is only one issue, Xcode cannot find version 3.0.0
because it's tagged as v3.0.0
in the releases/tags.
The only way to add the framework now is by selecting the master branch, ideally not what you'd want.
Can version v3.0.0 be tagged again as 3.0.0
and further versions from here on out? So we can use the 'power' of semver.
Thanks!
I don't know what to do next. Any suggestion?
*** Building scheme "Advance-tvOS" in Advance.xcodeproj
xcodebuild: error: The run destination Apple TV 1080p is not valid for Running the scheme 'Advance-tvOS'.
Apple TV 1080p doesn’t match any of Advance.framework’s targeted device families. You can expand Advance.framework’s targeted device families to support Apple TV 1080p.
A shell task failed with exit code 70:
xcodebuild: error: The run destination Apple TV 1080p is not valid for Running the scheme 'Advance-tvOS'.
Apple TV 1080p doesn’t match any of Advance.framework’s targeted device families. You can expand Advance.framework’s targeted device families to support Apple TV 1080p.
Steps to reproduce:
Update: As a matter of fact app crashes on 2-fingers tap on any panel, not only the Gestures one.
Tested in iPhone 6 Plus, iOS 9.2.1.
When trying to build for macOS with Carthage, I get the error Dependency "Advance" has no shared framework schemes for any of the platforms: Mac.
The main GitHub page indicates Advance is compatible with macOS. Is that not yet implemented or is there some way I can make it work?
I'm using Xcode 10.1, macOS 10.13.6.
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.