Giter Club home page Giter Club logo

coreanimation-swift's People

Contributors

jverkoey avatar maxluzuriaga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

coreanimation-swift's Issues

Write the README.md

Should include the following:

  • Installation steps. (Steal the ones from here).
  • Getting started example.

Assume that this repo is the entry-point for an application developer who has never used Material Motion before. We'll likely want to link to some form of "getting started with material motion" document. Life of a plan might be a good start, but we should have a swift version as well.

Handle failure to acquire token more gracefully

CATransaction.begin()
guard let token = tokenGenerator.generate() else { return }

If we fail to generate a token then we're left with an open CATransaction. We should attempt to acquire the token before initiating the transaction.

Exploration: UIView block-based animations

Many people are used to UIView's implicit animation APIs.

Material Motion, on the other hand, is much closer to Core Animation's API patterns.

This task tracks explorations for supporting UIView implicit APIs, or something similar in Material Motion.

This is a research task and may not lead to any spec'able outcome.

Performers shouldn't be flexible on their provided target type

TweenPerformer allows Tweens to be registered to UIView and CALayer. In actuality, Tweens can only be added to CALayer.

This flexibility can cause problems due to how performers are instantiated. Consider the following example:

let tween = Tween(...)
runtime.addPlan(tween, view)
runtime.addPlan(tween, view.layer)

The tween will get added to view.layer twice, but through two different performers.

Our performers need to be more strict about what sorts of targets they accept. In this case our performers should only accept CALayer targets.

Name?

Shouldn't it be material-motion-core-animation-family-swift? That's the name you've used in the podspec and the one that's easiest to read.

(Unless you are trying to lexographically group them, e.g. material-motion/family/core-animation).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.