Giter Club home page Giter Club logo

Comments (9)

icanzilb avatar icanzilb commented on June 26, 2024

The very first example in the readme works on iOS8 by default - yes. Or do you mean something else?

from easyanimation.

Esqarrouth avatar Esqarrouth commented on June 26, 2024

I think the readme isn't clear on what is an iOS default and what EasyAnimation brings to the table

from easyanimation.

fatuhoku avatar fatuhoku commented on June 26, 2024

Yeah not clear to me at all what EasyAnimation as a library does

from easyanimation.

icanzilb avatar icanzilb commented on June 26, 2024

there's a readme ... not sure what more i can do

from easyanimation.

Esqarrouth avatar Esqarrouth commented on June 26, 2024

The examples are of animateWithDuration which was introduced in iOS4.

The example says normally its X, but with EasyAnimation its Y.
But in real world normally its Y, so whats the benefit of EasyAnimation?

from easyanimation.

icanzilb avatar icanzilb commented on June 26, 2024

read the readme of this repository, thanks

from easyanimation.

Esqarrouth avatar Esqarrouth commented on June 26, 2024

Yes I read the readme.

This piece here says that animations without EasyAnimations suck:
http://i.imgur.com/uck5xPA.png

I tried this, it took me 1 minute for this experiment and it doesn't suck:
http://i.imgur.com/06Cuv6W.gif

I didn't need to write the whole

let anim = CABasicAnimation(keyPath: "position.x")
anim.fromValue = 100.0
anim.toValue = 200.0
anim.duration = 2.0
view.layer.addAnimation(anim, forKey: nil)

thing as you see in the code.

So is your readme basically lying? From my point of view what you are saying is exactly like this:

Normal UIView:
let myview = UIView()
myview.thisShouldWork = true
myview.thisIsAView = true
myview.thisViewStartsFromX = 10
myview.thisViewStartsFromY = 10
myview.thisViewWidth = 10
myview.thisViewHeight = 10

Heres EasyView:

let myview = UIView(frame: CGRect(10,10,10,10))

tada, it works yey!!

from easyanimation.

Esqarrouth avatar Esqarrouth commented on June 26, 2024

If you didn't understand what I say, let me make it more clearer:

Your readme gives me no relevant/true information, its just a useless piece of document.

I haven't checked your code btw, I am just talking about the readme

from easyanimation.

icanzilb avatar icanzilb commented on June 26, 2024

dude I answered you 2 months ago - you are right. this piece of code is there for illustrative purpose

from easyanimation.

Related Issues (20)

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.