Skip to content
This repository was archived by the owner on Jan 5, 2020. It is now read-only.

Can not use right with makeFrame #14

Open
veila opened this issue Dec 4, 2015 · 1 comment
Open

Can not use right with makeFrame #14

veila opened this issue Dec 4, 2015 · 1 comment

Comments

@veila
Copy link

veila commented Dec 4, 2015

I have a small issue. I want to set a view from CGRect(10,60,1,1) to CGRect(10,60,100,100), the size is good but the origin wrong. I print object and that is new origin of view:
▿ CGRect
▿ origin : CGPoint

  • x : -39.5
  • y : 10.5 { ... }
    ▿ size : CGSize
  • width : 100.0
  • height : 100.0 { ... }
    I use makeFram(rect: CGRect) in your lib. Please help me resolve this issue
@draveness
Copy link
Owner

This repo is based on CAKeyframeAnimation, and it does not support keypath frame, and I cannot fix this recently

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants